Does anyone know how to use a timer with the <windows.h> library. I want to display some values to the screen temporarily --
Thank you

If you write a win32 api program (instead of a normal console program) then you can use SetTimer() function as described in MSDN.

And how exactly does this relate to the subject of your thread :-O

To display some message on the screen temporarily first create a dialog box and set a timer as described in the link I posted. In the timer method that you write kill the dialog box.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.