Main.cc: In function 'int main()':
Main.cc:5:25: error: expected ')' before 'a'
while(scanf("%d",&a)a){
^
Main.cc:5:26: error: expected ';' before ')' token
while(scanf("%d",&a)a){
^
Main.cc:14:1: warning: statement has no effect [-Wunused-value]
}
^
Main.cc:4:11: warning: unused variable 'b' [-Wunused-variable]
int a,b;
^
Main.cc:14:1: error: expected '}' at end of input
}
^