Run id: 146941
Main.cc:1:10: error: #include expects "FILENAME" or
#include
^
Main.cc:2:10: error: #include expects "FILENAME" or
#include
^
Main.cc:3:10: error: #include expects "FILENAME" or
#include
^
Main.cc:15:10: error: #include expects "FILENAME" or
#include
^
Main.cc:47:10: error: #include expects "FILENAME" or
#include
^
Main.cc:48:10: error: #include expects "FILENAME" or
#include
^
Main.cc: In function 'int main()':
Main.cc:7:5: error: 'string' was not declared in this scope
string s;
^
Main.cc:8:5: error: 'cin' was not declared in this scope
cin >> s;
^
Main.cc:8:12: error: 's' was not declared in this scope
cin >> s;
^
Main.cc:10:12: error: expected ';' before 'reversed_s'
string reversed_s = s;
^
Main.cc:11:13: error: 'reversed_s' was not declared in this scope
reverse(reversed_s.begin(), reversed_s.end());
^
Main.cc:11:49: error: 'reverse' was not declared in this scope
reverse(reversed_s.begin(), reversed_s.end());
^
Main.cc:14:9: error: 'cout' was not declared in this scope
cout
^
Main.cc:18:12: error: a function-definition is not allowed here before '{' token
int main() {
^
Main.cc:65:1: error: expected '}' at end of input
}
^
Main.cc:65:1: error: expected '}' at end of input