Main.cc: In function 'void sum(int, int)': Main.cc:7:5: error: 'cout' was not declared in this scope cout<