/in/foo.cc: In function 'int main()':
/in/foo.cc:19:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for( int i = 0; i < l; i++ )
^~~
/in/foo.cc:21:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if( ch[i] == 'o' ) word[ 1 ]++;
^~
/in/foo.cc:21:20: error: 'i' was not declared in this scope
if( ch[i] == 'o' ) word[ 1 ]++;
^
/in/foo.cc:22:20: error: 'i' was not declared in this scope
if( ch[i] == 'd' ) word[ 2 ]++;
^
/in/foo.cc:23:20: error: 'i' was not declared in this scope
if( ch[i] == 'm' ) word[ 3 ]++;
^
/in/foo.cc:24:20: error: 'i' was not declared in this scope
if( ch[i] == 'r' ) word[ 4 ]++;
^
/in/foo.cc:25:20: error: 'i' was not declared in this scope
if( ch[i] == 'n' ) word[ 5 ]++;
^
/in/foo.cc:26:20: error: 'i' was not declared in this scope
if( ch[i] == 'i' ) word[ 6 ]++;
^
/in/foo.cc:27:20: error: 'i' was not declared in this scope
if( ch[i] == ' ' ) word[ 7 ]++;
^
/in/foo.cc:36:33: error: 'j' was not declared in this scope
printf("Case #%d: %d\n",j,ans);
^
/in/foo.cc: At global scope:
/in/foo.cc:38:5: error: expected unqualified-id before 'return'
return 0;
^~~~~~
/in/foo.cc:39:1: error: expected declaration before '}' token
}
^