/in/foo.cc:1:1: error: 'include' does not name a type
include <iostream>
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:5:1: error: 'string' was not declared in this scope
string a;
^~~~~~
/in/foo.cc:6:1: error: 'cin' was not declared in this scope
cin >> a;
^~~
/in/foo.cc:6:8: error: 'a' was not declared in this scope
cin >> a;
^
/in/foo.cc:7:1: error: 'cout' was not declared in this scope
cout <<a <<endl;
^~~~
/in/foo.cc:7:12: error: 'endl' was not declared in this scope
cout <<a <<endl;
^~~~