|I agree with ijack. There's a number of ways to do what you want in Win32. |
Reading input can be done a number of ways, each with their own trade offs.
● You could call string's std::getline()
● You could call std::cin's getline()
● You could use the low level console input functions, such as ReadConsoleInput()
● You could make a GUI program, and look for WM_CHAR messages
Timing can be done a number of ways as well.
● You could measure the time between the start of input and the end
● You could create a (hidden) window and feed that into a Win32 timer.
● You could create a waitable timer, and wait on it.
How To Ask Questions The Smart Way