Delay(int milliseconds)
any one heard of function "delay(int no_of_milliseconds)". it is used in TC++.
i wanna know which function can delay execution by say sum number of milliseconds
in Dev cpp.
Use the Sleep(milliseconds) function on Windows. Linux has a sleep(seconds), and a usleep(microseconds).
Like he said, use ::Sleep(milisecond)
::Sleep(0) for the lowest pause possible. Usefull for threading.
::Sleep(0) for the lowest pause possible. Usefull for threading.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement