hi,
I am writing code for a game in c, i need to set a timer for input.if input is not entered in certain period time then it has to come out of the game(program).how to set the timer.where i have to set, before the input or after the input.how to do that.
I am writing code for a game in c, i need to set a timer for input.if input is not entered in certain period time then it has to come out of the game(program).how to set the timer.where i have to set, before the input or after the input.how to do that.