Main.cc: In function 'int main()':
Main.cc:11:4: error: expected ';' before 'while'
while(t!=0){
^
Main.cc: At global scope:
Main.cc:21:5: error: expected unqualified-id before 'return'
return 0;
^
Main.cc:22:1: error: expected declaration before '}' token
}
^