/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: error: expected ';' before ')' token
for(cin>>a){
^
/in/foo.cc:17:1: error: expected primary-expression at end of input
}
^
/in/foo.cc:17:1: error: expected ';' at end of input
/in/foo.cc:17:1: error: expected primary-expression at end of input
/in/foo.cc:17:1: error: expected ')' at end of input
/in/foo.cc:17:1: error: expected statement at end of input
/in/foo.cc:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(cin>>a){
^~~
cc1plus: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
/in/foo.cc:17:1: error: expected '}' at end of input
}
^