Is there a delay routine for C/C++ programs.
I want a delay function that pauses my program, stops execution for a certain amount of seconds/microseconds.
Does one already exist?? (In the standard C/C++ library)
NOTE: I use MSVC++ 6;
Ciao ;)
Printable View
Is there a delay routine for C/C++ programs.
I want a delay function that pauses my program, stops execution for a certain amount of seconds/microseconds.
Does one already exist?? (In the standard C/C++ library)
NOTE: I use MSVC++ 6;
Ciao ;)
you can use sleep()
There are several solution. I recommend multiple threads and delays via Sleep() for Win32 console applications.
Kuphryn
Hey,
What header file do i need to include, and how do i use the function??
Ciao ;)
windows.h, Sleep(miliseconds) :D
thanx, this function is very useful ;)
Ciao ;)