Home > Back-end >  To solve the error
To solve the error

Time:11-26

If (gameover==0) {
If (player2move==2) {
Printf (" Youer turn \ n ");
} else {
Printf (" My turn \ n ");
}
} else {
Printf (" GAME OVER \ n ");
}

return 0;
}
Where an error occurs, seek solutions

CodePudding user response:

What this means, compile yet? Only half of the code, can't see where is wrong

CodePudding user response:

See, the English word write wrong Youer - & gt; your

CodePudding user response:

D: \ unnamed 3. CPP In function 'int main ()' :
8 2 D: \ unnamed 3. CPP [Error] expected '; 'before' if '
1 D: \ unnamed 3. CPP [Error] expected '} 'at the end of the input

CodePudding user response:

A less player2move=2;
  • Related