Compiler output
prog.cpp: In function 'int main()':
prog.cpp:6:4: error: 'cin' was not declared in this scope
prog.cpp:6:4: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.7/iostream:61:18: note: 'std::cin'
prog.cpp:29:6: error: 'cout' was not declared in this scope
prog.cpp:29:6: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/4.7/iostream:62:18: note: 'std::cout'
prog.cpp:29:15: error: 'endl' was not declared in this scope
prog.cpp:29:15: note: suggested alternative:
In file included from /usr/include/c++/4.7/iostream:40:0,
from prog.cpp:1:
/usr/include/c++/4.7/ostream:562:5: note: 'std::endl'
prog.cpp:33:10: error: 'getch' was not declared in this scope
prog.cpp:34:11: error: 'clrscr' was not declared in this scope