Main.cc: In function ‘int main()’: Main.cc:4:2: error: ‘cin’ was not declared in this scope cin>>a>>b; ^~~ Main.cc:4:2: note: suggested alternative: ‘main’ cin>>a>>b; ^~~ main Main.cc:12:5: error: ‘max’ was not declared in this scope e=max(d[i],e); ^~~ Main.cc:12:5: note: suggested alternative: ‘main’ e=max(d[i],e); ^~~ main Main.cc:16:4: error: ‘cout’ was not declared in this scope cout<