0_0_28242498_1.cpp:10:5: error: stray '\' in program
while(scanf(\"%d\",&n)!=EOF)
^
0_0_28242498_1.cpp:10:5: error: missing terminating " character
0_0_28242498_1.cpp:21:9: error: stray '\' in program
printf(\"%d\\n\",a[n]);
^
0_0_28242498_1.cpp:21:9: error: missing terminating " character
0_0_28242498_1.cpp: In function 'int main()':
0_0_28242498_1.cpp:12:9: error: expected primary-expression before 'if'
if(n==0)
^
0_0_28242498_1.cpp:12:9: error: expected '}' before 'if'
0_0_28242498_1.cpp:12:9: error: expected ')' before 'if'
0_0_28242498_1.cpp:13:18: error: expected ')' before ';' token
break;
^
0_0_28242498_1.cpp:22:5: error: expected primary-expression before '}' token
}
^
0_0_28242498_1.cpp: At global scope:
0_0_28242498_1.cpp:23:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_28242498_1.cpp:24:1: error: expected declaration before '}' token
}
^
|