1.) how do i declare a boolean? bool gives errors in the compiler
2.) what is wrong with this:
Code: Select all
if (iField[x + 1][y] == BlockKind) || (iField[x + 1][y] == BlockKind + 2) {
Code: Select all
main.c: In function 'CheckSurroundingField':
main.c:110: error: syntax error before '||' token
3) what is wrong with this:
Code: Select all
int CheckSurroundingField(int x, int y, int BlockKind){
greets ghoti (a former visual basic programmer...)