hello,
is there any delay function available in vc 6.0 environment.
do we have any equivalent of the "delay" function that we use in tourbo c++ (defined in dos.h)
if, there is no function available..how can we wrtie our own?
---jesh
Printable View
hello,
is there any delay function available in vc 6.0 environment.
do we have any equivalent of the "delay" function that we use in tourbo c++ (defined in dos.h)
if, there is no function available..how can we wrtie our own?
---jesh
I don't know what delay() does, but I'm assuming it suspends
the program for a given amount of time. You can use the function
Sleep() for WIN32 or sleep() for unix. Just #include windows.h
and you should see Sleep(). Here's a link to Sleep():
http://msdn.microsoft.com/library/de...base/sleep.asp
--Paul