/in/foo.cc: In function 'int main()':
/in/foo.cc:52:10: error: expected unqualified-id before '=' token
for (int=1;i<=n;i++)
^
/in/foo.cc:52:10: error: expected ';' before '=' token
/in/foo.cc:52:10: error: expected primary-expression before '=' token
/in/foo.cc:52:13: error: 'i' was not declared in this scope
for (int=1;i<=n;i++)
^
/in/foo.cc:52:17: error: expected ')' before ';' token
for (int=1;i<=n;i++)
^
/in/foo.cc:52:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int=1;i<=n;i++)
^~~
/in/foo.cc:52:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int=1;i<=n;i++)
^
/in/foo.cc:52:18: error: 'i' was not declared in this scope