Main.cc: In function 'int main()': Main.cc:5:15: error: expected primary-expression before ',' token int a,b,c;,d ^ Main.cc:5:16: error: 'd' was not declared in this scope int a,b,c;,d ^