How do you make a delay in a C++ file. I know how to do it in Pascal but not with C.
Printable View
How do you make a delay in a C++ file. I know how to do it in Pascal but not with C.
pascal wont help - you need C :)
assuming windows programming
#include <windows.h>
Sleep(x);
where x is the number of milliseconds to pause, notice capitalization of Sleep
hth