Description: A guessing game, the rules of the game are as follows: 1, the game starts, the computer generates three random numbers are not repeated within ten. 2, players enter the three numbers he speculated 3, players will count filed with the computer-generated comparison, the results displayed as " * A* B" . A representative of the position of the correct figure is correct, B represents the number correct but the location is not correct, such as: " 2A0B" means you have two numbers in the correct position and the value is correct, in addition, you guessed 0 figures, but wrong place. 4, a total of seven players the opportunity, within seven times, if the result is " 3A0B" , the game successfully, quit the game. If the players are not seven times in the game failed to guess.
To Search:
File list (Check if you may need any files):
Number guess.cpp