0
How to make C++ output a string and you have to input it exactly as it is before a timer counts down?
For example, you are directed to type in the 3 strings within 5 seconds. If you don't type it within the time, you are given a new set of strings, and so on and so forth. However, if you do manage to type in within the time, but there is an error, the timer gets deducted 3 seconds. This idea was based on a feature of the game "Welcome to the Game 2". My main questions are: How to make a program randomly choose between choices of output? How to make a program make a timer that deletes itself and counts down?
1 Antwort
+ 1
I think you have to look into the multi-threading to make timers.