Arsenic "дяволче" Iodide (siliconstitches) wrote in cprogramming,
Arsenic "дяволче" Iodide
siliconstitches
cprogramming

  • Mood:
There wouldn't happen to be a shorter way to write:

else if((tictac[0][0]=='O' || tictac[0][0]=='X')&&(tictac[0][1]=='O' || tictac[0][1]=='X')&&(tictac[0][2]=='O' || tictac[0][2]=='X')&&(tictac[1][0]=='O' || tictac[1][0]=='X')&&(tictac[1][1]=='O' || tictac[1][1]=='X')&&(tictac[1][2]=='O' || tictac[1][2]=='X')&&(tictac[2][0]=='O' || tictac[2][0]=='X')&&(tictac[2][1]=='O' || tictac[2][1]=='X')&&(tictac[2][2]=='O' || tictac[2][2]=='X'))


would there?

:\
  • Post a new comment

    Error

    default userpic
  • 11 comments