0_0_36172189_27430.cpp:9:3: error: stray '\' in program
while((c=getchar())!=EOF&&c!=\'#\'){
^
0_0_36172189_27430.cpp:9:3: error: missing terminating ' character
0_0_36172189_27430.cpp:10:4: error: stray '\' in program
if(c==\' \')
^
0_0_36172189_27430.cpp:10:4: error: missing terminating ' character
0_0_36172189_27430.cpp:12:4: error: stray '\' in program
else if(c==\'\\n\'){
^
0_0_36172189_27430.cpp:12:4: error: missing terminating ' character
0_0_36172189_27430.cpp:13:5: error: stray '\' in program
printf(\"%d\\n\",s);
^
0_0_36172189_27430.cpp:13:5: error: missing terminating " character
0_0_36172189_27430.cpp:16:4: error: stray '\' in program
else s=s+i*(c-\'A\'+1);
^
0_0_36172189_27430.cpp:16:4: error: missing terminating ' character
0_0_36172189_27430.cpp:19:3: error: stray '\' in program
if(c==\'#\')
^
0_0_36172189_27430.cpp:19:3: error: missing terminating ' character
0_0_36172189_27430.cpp: In function 'int main()':
0_0_36172189_27430.cpp:10:4: error: expected primary-expression before 'if'
if(c==\' \')
^
0_0_36172189_27430.cpp:10:4: error: expected ')' before 'if'
0_0_36172189_27430.cpp:11:6: error: lvalue required as left operand of assignment
s=s+0*i;
^
0_0_36172189_27430.cpp:11:12: error: expected ')' before ';' token
s=s+0*i;
^
0_0_36172189_27430.cpp:14:5: error: expected primary-expression before 'break'
break;
^
0_0_36172189_27430.cpp:14:10: error: expected ')' before ';' token
break;
^
0_0_36172189_27430.cpp:16:4: error: 'else' without a previous 'if'
else s=s+i*(c-\'A\'+1);
^
0_0_36172189_27430.cpp:17:7: error: expected ')' before ';' token
i++;
^
0_0_36172189_27430.cpp: At global scope:
0_0_36172189_27430.cpp:19:3: error: expected unqualified-id before 'if'
if(c==\'#\')
^
0_0_36172189_27430.cpp:21:2: error: expected declaration before '}' token
}
^
|