In the function get_computer_move, if all elements of the matrix have the value ' ',it means the player did not move anything. In this case, i = j = 3, and i*j = 9. The program thinks this case is a draw (平手), and exits.
回复:请问C/C++高手, 有个IF condition我不知道是check什么的, 谢谢
所有跟帖:
•
多谢各位高手的指点.
-iwant2know-
♂
(0 bytes)
()
09/25/2006 postreply
11:35:48