Main.cc: In function ‘void Traceback(int (*)[100], int*, int, int, int*)’: Main.cc:23:30: error: expected statement at end of input if(m[i][c]==m[i+1][c]) ^ Main.cc:23:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(m[i][c]==m[i+1][c]) ^~ cc1plus: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ Main.cc:23:30: error: expected ‘}’ at end of input if(m[i][c]==m[i+1][c]) ^