prog.cpp:6:2: error: ‘cout’ does not name a type
cout<<"this is my bank"<<endl;
^~~~
prog.cpp: In function ‘int main()’:
prog.cpp:22:10: error: no matching function for call to ‘b::showA()’
d.showA();
^
prog.cpp:13:7: note: candidate: void b::showA(bank&)
void showA(bank &x)
^~~~~
prog.cpp:13:7: note: candidate expects 1 argument, 0 provided