/in/foo.cc: In function 'int main()':
/in/foo.cc:10:15: error: expected ')' before ';' token
while(int i=0;i<s.length();i++)
^
/in/foo.cc:10:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(int i=0;i<s.length();i++)
^~~~~
/in/foo.cc:10:16: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(int i=0;i<s.length();i++)
^
/in/foo.cc:10:12: warning: unused variable 'i' [-Wunused-variable]
while(int i=0;i<s.length();i++)
^
/in/foo.cc:10:16: error: 'i' was not declared in this scope
while(int i=0;i<s.length();i++)
^