Main.cc: In function 'int main()': Main.cc:4:19: error: expected initializer before 'h' int a,s,d,f,g h; ^ Main.cc:5:22: error: 'g' was not declared in this scope cin>>a>>s>>d>>f>>g>>h; ^ Main.cc:5:25: error: 'h' was not declared in this scope cin>>a>>s>>d>>f>>g>>h; ^