prog.cpp: In function ‘void f1(int, int&, char)’:
prog.cpp:8: error: ‘cout’ was not declared in this scope
prog.cpp:9: error: ‘endL’ was not declared in this scope
prog.cpp: In function ‘void f2(int&, int, char&)’:
prog.cpp:16: error: ‘cout’ was not declared in this scope
prog.cpp:16: error: ‘endL’ was not declared in this scope
prog.cpp: At global scope:
prog.cpp:18: error: ‘::main’ must return ‘int’
prog.cpp: In function ‘int main()’:
prog.cpp:21: error: ‘ch’ was not declared in this scope
prog.cpp:22: error: ‘cout’ was not declared in this scope
prog.cpp:22: error: ‘endL’ was not declared in this scope