Compiler output
prog.cpp: In function 'int main()':
prog.cpp:7:5: error: 'cin' was not declared in this scope
prog.cpp:7:5: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.7/iostream:61:18: note: 'std::cin'
prog.cpp:20:13: error: 'cout' was not declared in this scope
prog.cpp:20:13: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.7/iostream:62:18: note: 'std::cout'
prog.cpp:24:13: error: 'cout' was not declared in this scope
prog.cpp:24:13: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.7/iostream:62:18: note: 'std::cout'