I fixed that already. This thread is old. This is what happens when you waste time with one global variable. *Darn*Originally posted by blackrat364
Volk, what is this block in the get_second_player_move() function supposed to do?
I know I helped you with the if statement before, but I'm not sure what you're hoping to accomplish with the code inside the block. I think it might be the source of your problem - can you explain it a bit?Code:else if ( x * y == 4 ) { cout << "draw" << endl; exit ( EXIT_SUCCESS ); }
I'll forgive you if your excuse was that you just weren't online at the time.
Also, to give you a hint at what I was trying to accomplish, look at that cout statement. What is that? Is that...is that...is that draw written in there?!