|
basic C++ question:
So I have this 2 dimensional Array (3X3)
and I want to make it so
"if there is an "X" in slot 2-2, return a "YES"
tried doing
if ( board[2][2] hahahaha 'X' )
{
cout << "Yes";
}
else
{
cout << "No";
}
and I keep on getting "No"s at every turn
can anybody help me out on this one?
what I am actually trying to do, is that it's a TIC TAC TOE game, and I need to stop the program once someone wins...
help me out yooo!!!
178340550
|