Delay(int milliseconds)

Started by
1 comment, last by kontrolkl 17 years, 6 months ago
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.
Advertisement
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.

This topic is closed to new replies.

Advertisement