prog.cpp:1:21: error: iostream.h: No such file or directory
prog.cpp:4: error: ISO C++ forbids declaration of ‘out’ with no type
prog.cpp: In member function ‘int base::out()’:
prog.cpp:4: error: ‘cout’ was not declared in this scope
prog.cpp:4: warning: no return statement in function returning non-void
prog.cpp: At global scope:
prog.cpp:8: error: ISO C++ forbids declaration of ‘out’ with no type
prog.cpp: In member function ‘int deri::out()’:
prog.cpp:8: error: ‘cout’ was not declared in this scope
prog.cpp:8: warning: no return statement in function returning non-void
prog.cpp: At global scope:
prog.cpp:10: error: ‘::main’ must return ‘int’