delaying operation of command

is there a function of a similar nature to BASIC's SLEEP command... If so, what is it, how do i use it? (what #includes do i need etc)......?????
th_c_manAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
dstConnect With a Mentor Commented:
//Following code will suspends the execution of your program for
//1000 milliseconds:

#include <winbase.h>

Sleep(1000);

0
 
ozoCommented:
#include <unistd.h>

unsigned int sleep (unsigned int seconds);
0
 
th_c_manAuthor Commented:
* ozo-- i dont understand your one... more information ?

* dst-- thanks! i'll give it a try.
0
All Courses

From novice to tech pro — start learning today.