0_0_37418967_2982.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include ¡°iostream¡±
^
0_0_37418967_2982.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include ¡°string¡±
^
0_0_37418967_2982.cpp:8:1: error: stray '\241' in program
while (cin >> s&&s != ¡°0¡±)
^
0_0_37418967_2982.cpp:8:1: error: stray '\260' in program
0_0_37418967_2982.cpp:8:1: error: stray '\241' in program
0_0_37418967_2982.cpp:8:1: error: stray '\261' in program
0_0_37418967_2982.cpp:14:1: error: stray '\241' in program
a[i] = s[i] - ¡®0¡¯;
^
0_0_37418967_2982.cpp:14:1: error: stray '\256' in program
0_0_37418967_2982.cpp:14:1: error: stray '\241' in program
0_0_37418967_2982.cpp:14:1: error: stray '\257' in program
0_0_37418967_2982.cpp: In function 'int main()':
0_0_37418967_2982.cpp:7:1: error: 'string' was not declared in this scope
string s;
^
0_0_37418967_2982.cpp:8:8: error: 'cin' was not declared in this scope
while (cin >> s&&s != ¡°0¡±)
^
0_0_37418967_2982.cpp:8:15: error: 's' was not declared in this scope
while (cin >> s&&s != ¡°0¡±)
^
0_0_37418967_2982.cpp:27:1: error: 'cout' was not declared in this scope
cout << sum << endl;
^
0_0_37418967_2982.cpp:27:16: error: 'endl' was not declared in this scope
cout << sum << endl;
^
|