0_0_13212516_3323.cpp:26:1: error: stray '\241' in program
กก for(i=M;i>=0&&num1[i]==0;i--)
^
0_0_13212516_3323.cpp:26:1: error: stray '\241' in program
0_0_13212516_3323.cpp: In function 'void Add(char*, char*)':
0_0_13212516_3323.cpp:4:17: error: expected ']' before ';' token
#define M 100000;
^
0_0_13212516_3323.cpp:8:15: note: in expansion of macro 'M'
int num1[M],num2[M],len1,len2;
^
0_0_13212516_3323.cpp:8:16: error: expected primary-expression before ']' token
int num1[M],num2[M],len1,len2;
^
0_0_13212516_3323.cpp:8:24: error: expected primary-expression before ']' token
int num1[M],num2[M],len1,len2;
^
0_0_13212516_3323.cpp:10:6: error: 'len1' was not declared in this scope
len1=strlen(s1);
^
0_0_13212516_3323.cpp:11:6: error: 'len2' was not declared in this scope
len2=strlen(s2);
^
0_0_13212516_3323.cpp:13:14: error: 'num1' was not declared in this scope
num1[j++]=s1[i]-'0';
^
0_0_13212516_3323.cpp:15:14: error: 'num2' was not declared in this scope
num2[j++]=s2[i]-'0';
^
0_0_13212516_3323.cpp:16:17: error: expected primary-expression before ';' token
for(i=0;i<M;i++)
^
0_0_13212516_3323.cpp:16:17: error: expected ')' before ';' token
0_0_13212516_3323.cpp:16:21: error: expected ';' before ')' token
for(i=0;i<M;i++)
^
0_0_13212516_3323.cpp:41:5: error: expected '}' at end of input
}
^
|