Original Post
Right now I'm designing a text-base console game. One thing that I need is a Timer. So say you ask the user to solve and enter the solution to this equation: (2 * 3) + 5. But, the user only has 7 seconds to answer it. If he/she gets it in 5 seconds, he/she wins. If it takes more than 7 seconds, he/she looses. What I want to know, is how would you make that happen. Is there a function in C++ that I could use (haven't found or heard of one at this point)? Do I create my own function to make it happen (if so, how? Where would I start)? Anyway, if anyone could provide any insight or ideas, I would appriciate it. Thanks.