i dont know of a better way to write this i am stuck. i want to tell the user whose turn it is : i get this error
error: expected `:' before ';' token
for this code below
error: expected `:' before ';' token
for this code below
Code:
int turn_it_is(int play1, int play2) { cout << (((play1%2)==1)((play1:play2)); cout << " it's your turn "; cin >> turn_it_is; }
Comment