/in/foo.cc: In function 'int main()':
/in/foo.cc:9:12: warning: right operand of comma operator has no effect [-Wunused-value]
for (i=0,i<10,i++)
~^~~
/in/foo.cc:9:19: error: expected ';' before ')' token
for (i=0,i<10,i++)
^
/in/foo.cc:14:2: error: expected primary-expression before 'int'
int H,taotao = 0;
^~~
/in/foo.cc:14:2: error: expected ')' before 'int'
/in/foo.cc:14:6: warning: unused variable 'H' [-Wunused-variable]
int H,taotao = 0;
^
/in/foo.cc:14:8: warning: unused variable 'taotao' [-Wunused-variable]
int H,taotao = 0;
^~~~~~
/in/foo.cc:15:7: error: 'H' was not declared in this scope
cin>>H;
^
/in/foo.cc:17:12: warning: right operand of comma operator has no effect [-Wunused-value]
for (i=0,i<10,i++)
~^~~
/in/foo.cc:17:19: error: expected ';' before ')' token
for (i=0,i<10,i++)
^
/in/foo.cc:27:1: error: expected primary-expression at end of input
}
^
/in/foo.cc:27:1: error: expected ';' at end of input
/in/foo.cc:27:1: error: expected primary-expression at end of input
/in/foo.cc:27:1: error: expected ')' at end of input
/in/foo.cc:27:1: error: expected statement at end of input
/in/foo.cc:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i=0,i<10,i++)
^~~
cc1plus: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
/in/foo.cc:7:6: warning: unused variable 'a' [-Wunused-variable]
int a[100];
^
/in/foo.cc:27:1: error: expected '}' at end of input
}
^