Main.cc:1:1: error: 'include' does not name a type include ^ Main.cc: In function 'int main()': Main.cc:5:5: error: 'cin' was not declared in this scope cin>>y>>m; ^ Main.cc:15:5: error: 'cout' was not declared in this scope cout<m<<endl; ^ Main.cc:15:14: error: 'endl' was not declared in this scope cout<<m<<endl; ^