|
-
April 1st, 2003, 06:07 AM
#1
delay function for vc 6.0 compiler
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
-
April 1st, 2003, 06:41 AM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|