Pause in action with MSVC++.NET
I am wondering if there is a way to make all action stop for a certain amount of time. For example, with a timer, when the timer is enabled, the code execution continues after the timer is started. It doesn't wait for the timer to finish. In pseudocode, what I want is this:
.....
code
code
Wait 5 seconds before continuing
code
code
code
.....
So that the computer would execute the first two lines of code, then wait 5 seconds before executing the rest of the code. Is there any way to do that?
Thanks,
The Digital Pioneer

