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