/in/foo.cc: In function 'bool mov(int, int, int, int*, int*, int*, int*)':
/in/foo.cc:15:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(in[i]==a&hole[i][b])
~~~~~^~~
/in/foo.cc: At global scope:
/in/foo.cc:55:1: error: expected unqualified-id before 'return'
return 0;
^~~~~~
/in/foo.cc:56:1: error: expected declaration before '}' token
}
^
/in/foo.cc: In function 'bool put(int, int*, int*)':
/in/foo.cc:54:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^