Main.cc: In function 'int main()': Main.cc:7:5: error: expected ';' before 'cin' cin>>a1>>b1; ^ Main.cc:7:16: error: statement cannot resolve address of overloaded function cin>>a1>>b1; ^