Pause in action with MSVC++.NET

Hi.
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
[590 byte] By [TheDigitalPioneer] at [2007-12-16]
# 1
Sleep(5000);

Ronald Laeremans
Visual C++ team

RonaldLaeremans at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ Language...
# 2
OK, thanks a million.

The Digital Pioneer

TheDigitalPioneer at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ Language...