I have a question. Still trying to understand.
I am using borland c++ vr 4.5. I am working on a project
that usees the sleep function 4.5 does not support this
function. Is there somewhere i can find a win16 version
that would work in this program.
tnx
ron hathcock
blackhawk
0
Newbie Poster
Recommended Answers
Jump to PostSleep(time_in_ms) is a Win32-API function and you might want to include windows.h
Make sure you are using Sleep() and not sleep().
Jump to PostIt is in the free Borland C++ Version 5.5 and even the very old Turbo C Version 3.1 has delay() in the dos.h header. You might have to tell it, that you don't compile for a windows program with "#undef Windows" or something like that.
All 8 Replies
FireNet
64
Posting Whiz in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Narue
5,707
Bad Cop
Team Colleague
blackhawk
0
Newbie Poster
blackhawk
0
Newbie Poster
blackhawk
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.