#includeint divisor(int a,int b){ int temp=1; if(a0){ printf("a/b大于c/d!\n"); } if(m==0){ printf("a/b等于c/d!\n"); } if(m<0){ printf("a/b小于c/d!\n"); ...
分类:
编程语言 时间:
2014-12-19 20:37:11
阅读次数:
265
存储过程中遇到ora-00942表或视图不存在CREATE OR REPLACE PROCEDURE pIS CURSOR c IS SELECT * FROM scott.emp FOR UPDATE;BEGIN FOR v_temp IN c LOOP IF (v_temp.d...
分类:
其他好文 时间:
2014-12-19 18:54:55
阅读次数:
381
1 #include 2 #include 3 #include 4 void divi(int p[],int x,int *len) 5 { 6 int temp=0,i,j; 7 for(i=0;i=0;i--) 15 { 16 if(p...
分类:
其他好文 时间:
2014-12-19 18:42:49
阅读次数:
178
int main()
{
int i,j,temp,a[10]={1,3,6,56,9,7,4,2,34,69};
for( i=1; i<10;i++) /* 开始遍历这个 */
{
temp = a[i]; /* 将数组中的一个值赋值给temp*/
for(j=i-1...
分类:
编程语言 时间:
2014-12-19 00:44:30
阅读次数:
193
#include
#include
#define maxn 200
void main()
{
FILE *fp;
int s[maxn][maxn];
int i,j;
if((fp=fopen("d:\\temp\\test.txt","r"))==NULL)
{
printf(" can't open");
exit(0);
}
for...
分类:
编程语言 时间:
2014-12-18 18:52:15
阅读次数:
155
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace delegatedemo
{
public delegate void BoilDelegate(int temp);...
分类:
其他好文 时间:
2014-12-18 15:14:38
阅读次数:
184
I am using eclipse to export the jar file of a map-reduce program. When i am run the jar using command hadoop jar hadoop-prog.jar WordCount /home/temp...
分类:
编程语言 时间:
2014-12-17 14:31:34
阅读次数:
201
/* Date:2014.12.16
折半查找算法,也叫二分查找,用于对拥有唯一元素的查找。
需要先经过按序排序后才能进行。只对有序表适用。
*/
//先快速排序:(此处增序,也可降序)
void QuickSort(int *arr,int left,int right)
{
int key,temp,ltemp,rtemp;
ltemp = left;
r...
分类:
编程语言 时间:
2014-12-17 12:52:34
阅读次数:
116
最近有个需求是隐藏个人操作Personal Action的部分内容(右上角下拉菜单),研究了一下需要更改Welcome.ascx文件。 文件位置: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMP...
分类:
其他好文 时间:
2014-12-17 12:38:59
阅读次数:
123
1.2进制转10进制自定义函数:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function DecToInt(temp:string):integ...
分类:
其他好文 时间:
2014-12-16 22:18:03
阅读次数:
203