Main.cc: In function 'int main()': Main.cc:4:10: error: 'a' was not declared in this scope cin>>a; ^ Main.cc:5:10: error: 'b' was not declared in this scope cin>>b; ^