foo.cpp:1:1: error: 'include' does not name a type
foo.cpp: In function 'int main()':
foo.cpp:9:1: error: 'cin' was not declared in this scope
foo.cpp:34:11: error: 'cout' was not declared in this scope
foo.cpp:34:27: error: 'endl' was not declared in this scope
foo.cpp:46:16: error: 'cout' was not declared in this scope
foo.cpp:46:28: error: 'endl' was not declared in this scope
foo.cpp:47:6: error: 'cout' was not declared in this scope
foo.cpp:47:27: error: 'endl' was not declared in this scope
foo.cpp:58:16: error: 'cout' was not declared in this scope
foo.cpp:58:28: error: 'endl' was not declared in this scope
foo.cpp:59:6: error: 'cout' was not declared in this scope
foo.cpp:59:27: error: 'endl' was not declared in this scope
foo.cpp:10:19: warning: unused variable 's' [-Wunused-variable]