So, I can't search what the meaning of this let say for example I have
string TICTACTOE[3][3] = {
{"1","2","3"},
{"4","5","6"},
{"7","8","9"}
};
How can I make boolean passing the condition statement in something like this
bool trial = TICTACTOE[0][0] == TICTACTOE[0][1] == TICTACTOE[0][2]
if (trial) {
cout << "THIS PLAYER WINS: " <<playerWinner << endl;
}
Its working though if its only
bool trial = TICTACTOE[0][0] == TICTACTOE[0][1]
but when its three bool its not working..anyone can explain me this? I'm just used to do with it "==" since I used to use javascript a lot.