0_0_25978903_15350.cpp:4:12: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25978903_15350.cpp:5:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25978903_15350.cpp:6:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_25978903_15350.cpp:16:20: error: stray '#' in program
a[i]=carry�SE;
^
0_0_25978903_15350.cpp: In function 'void multiply(int*, int, int)':
0_0_25978903_15350.cpp:16:27: error: 'SE' was not declared in this scope
a[i]=carry�SE;
^
0_0_25978903_15350.cpp: In function 'void divide(int*, int, int)':
0_0_25978903_15350.cpp:24:5: error: expected ';' before '{' token
{
^
0_0_25978903_15350.cpp:24:5: error: expected primary-expression before '{' token
0_0_25978903_15350.cpp:24:5: error: expected ')' before '{' token
0_0_25978903_15350.cpp: In function 'int main()':
0_0_25978903_15350.cpp:33:34: error: 'memset' was not declared in this scope
memset(h[1],0,MAX*sizeof(int));//赋值,每一个都置为0
^
0_0_25978903_15350.cpp:36:43: error: 'memcpy' was not declared in this scope
memcpy(h[i],h[i-1],MAX*sizeof(int));//h[i]=h[i-1];按字节拷贝,保证了h[i]和h[i-1]指向数组的一致性
^
0_0_25978903_15350.cpp:40:11: error: 'cin' was not declared in this scope
while(cin>>i && i>=1 && i<=100)//输入i的值
^
0_0_25978903_15350.cpp:46:9: error: expected ';' before 'printf'
printf("%d",h[i][j++]);//像是这个输出,就很妙了,第一位可能不足四位,就地输出!
^
0_0_25978903_15350.cpp:46:30: error: 'printf' was not declared in this scope
printf("%d",h[i][j++]);//像是这个输出,就很妙了,第一位可能不足四位,就地输出!
^
0_0_25978903_15350.cpp:46:31: error: expected ')' before ';' token
printf("%d",h[i][j++]);//像是这个输出,就很妙了,第一位可能不足四位,就地输出!
^
0_0_25978903_15350.cpp:48:9: error: expected ';' before '{' token
{
^
0_0_25978903_15350.cpp:48:9: error: expected primary-expression before '{' token
0_0_25978903_15350.cpp:48:9: error: expected ')' before '{' token
0_0_25978903_15350.cpp:50:27: error: 'printf' was not declared in this scope
printf("d",h[i][j]);//处在中间的值也可能没有四位,这时候要注意了,往左边加0,凑足4位,不然答案会出错!
^
0_0_25978903_15350.cpp:56:20: error: 'printf' was not declared in this scope
printf("\n");
^
0_0_25978903_15350.cpp:58:19: error: 'system' was not declared in this scope
system("pause");
^
|