Main.cc: In function 'int main()': Main.cc:6:8: error: expected unqualified-id before ',' token int a,,b; ^ Main.cc:7:10: warning: right operand of comma operator has no effect [-Wunused-value] cin>>a,b; ^