0_0_21595805_16190.cpp:55:22: error: stray '#' in program
if(str1[0]=='-'){
^
0_0_21595805_16190.cpp:55:28: error: stray '#' in program
if(str1[0]=='-'){
^
0_0_21595805_16190.cpp:57:70: error: stray '#' in program
for(int i=0;i<len1;i++) str1[i]=str1[i+1]; str1[--len1]='\0';
^
0_0_21595805_16190.cpp:57:13: error: stray '\' in program
for(int i=0;i<len1;i++) str1[i]=str1[i+1]; str1[--len1]='\0';
^
0_0_21595805_16190.cpp:57:77: error: stray '#' in program
for(int i=0;i<len1;i++) str1[i]=str1[i+1]; str1[--len1]='\0';
^
0_0_21595805_16190.cpp:59:22: error: stray '#' in program
if(str2[0]=='-'){
^
0_0_21595805_16190.cpp:59:28: error: stray '#' in program
if(str2[0]=='-'){
^
0_0_21595805_16190.cpp:61:70: error: stray '#' in program
for(int i=0;i<len2;i++) str2[i]=str2[i+1]; str2[--len2]='\0';
^
0_0_21595805_16190.cpp:61:13: error: stray '\' in program
for(int i=0;i<len2;i++) str2[i]=str2[i+1]; str2[--len2]='\0';
^
0_0_21595805_16190.cpp:61:77: error: stray '#' in program
for(int i=0;i<len2;i++) str2[i]=str2[i+1]; str2[--len2]='\0';
^
0_0_21595805_16190.cpp:66:39: error: stray '#' in program
x1[i]=cpx(str1[len1-1-i]-'0',0);
^
0_0_21595805_16190.cpp:66:45: error: stray '#' in program
x1[i]=cpx(str1[len1-1-i]-'0',0);
^
0_0_21595805_16190.cpp:70:39: error: stray '#' in program
x2[i]=cpx(str2[len2-1-i]-'0',0);
^
0_0_21595805_16190.cpp:70:45: error: stray '#' in program
x2[i]=cpx(str2[len2-1-i]-'0',0);
^
0_0_21595805_16190.cpp:85:53: error: stray '#' in program
for(int i=len;i>=0;i--) printf("%c",sum[i]+'0'); printf("\n");
^
0_0_21595805_16190.cpp:85:59: error: stray '#' in program
for(int i=len;i>=0;i--) printf("%c",sum[i]+'0'); printf("\n");
^
0_0_21595805_16190.cpp: In function 'int main()':
0_0_21595805_16190.cpp:55:23: error: lvalue required as unary '&' operand
if(str1[0]=='-'){
^
0_0_21595805_16190.cpp:55:25: error: expected ')' before ';' token
if(str1[0]=='-'){
^
0_0_21595805_16190.cpp:55:29: error: lvalue required as unary '&' operand
if(str1[0]=='-'){
^
0_0_21595805_16190.cpp:55:32: error: expected primary-expression before ')' token
if(str1[0]=='-'){
^
0_0_21595805_16190.cpp:59:23: error: lvalue required as unary '&' operand
if(str2[0]=='-'){
^
0_0_21595805_16190.cpp:59:25: error: expected ')' before ';' token
if(str2[0]=='-'){
^
0_0_21595805_16190.cpp:59:29: error: lvalue required as unary '&' operand
if(str2[0]=='-'){
^
0_0_21595805_16190.cpp:59:32: error: expected primary-expression before ')' token
if(str2[0]=='-'){
^
0_0_21595805_16190.cpp:66:40: error: lvalue required as unary '&' operand
x1[i]=cpx(str1[len1-1-i]-'0',0);
^
0_0_21595805_16190.cpp:66:49: error: expected primary-expression before ',' token
x1[i]=cpx(str1[len1-1-i]-'0',0);
^
0_0_21595805_16190.cpp:70:40: error: lvalue required as unary '&' operand
x2[i]=cpx(str2[len2-1-i]-'0',0);
^
0_0_21595805_16190.cpp:70:49: error: expected primary-expression before ',' token
x2[i]=cpx(str2[len2-1-i]-'0',0);
^
0_0_21595805_16190.cpp:85:54: error: lvalue required as unary '&' operand
for(int i=len;i>=0;i--) printf("%c",sum[i]+'0'); printf("\n");
^
0_0_21595805_16190.cpp:85:63: error: expected primary-expression before ')' token
for(int i=len;i>=0;i--) printf("%c",sum[i]+'0'); printf("\n");
^
|