the error is in this section of the code, first code I've ever attempted any useful tips to remembering how to avoid or fix this issue would be greatly appreciated
cout << "==>\aPlaye r "<<--player" win ";
else;
cout <<"==>\aGame draw";
cin.ignore();
...
User Profile
Collapse
-
Error code expecting ; before string constant.
-
first code, a simple game of tic-tack-toe
First here is the code that I have built
...Code:include <iostream> using namespace std; char square[10] = {'0','1','2','3','4','5','6','7','8','9'}; int checkwin(); void board(); int main () { { int player = 1,i,choice; char mark; do { board(); player=(player%2)?1:2;
No activity results to display
Show More