Main.cc: In function 'int main()': Main.cc:5:2: error: expected initializer before 'cin' cin>>a=10; ^ Main.cc:6:7: error: 'b' was not declared in this scope cin>>b=15; ^