prog.cpp:1:21: error: iostream.h: No such file or directory
prog.cpp:2:18: error: conio.h: No such file or directory
prog.cpp: In member function 'void B::display(A)':
prog.cpp:27: error: 'cout' was not declared in this scope
prog.cpp: In function 'int main()':
prog.cpp:35: error: 'getch' was not declared in this scope