foo.cc: In function 'void reset(int, int (*)[5])':
foo.cc:38:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<16;i++)
^~~
foo.cc:40:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
int j=15;
^~~
foo.cc: In function 'void bfs()':
foo.cc:58:9: warning: unused variable 'cons' [-Wunused-variable]
int cons=state_init;
^~~~
foo.cc: In function 'int main()':
foo.cc:140:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<5;j++)
^~~
foo.cc:142:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
getchar();
^~~~~~~
foo.cc:144:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<5;j++)
^~~
foo.cc:146:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
bfs();
^~~