Can I use sleep(); in c++?
And if so what header is it in?
Printable View
Can I use sleep(); in c++?
And if so what header is it in?
Sleep functions are non-standard. What compiler are you using?
borland c++ builder, but i´m writing an console app.
Aloa he,
Yes you can.Quote:
Can I use sleep(); in c++?
Well, that depends which OS and compiler you're using.Quote:
And if so what header is it in?
For example there is a "Sleep(miliseconds)" function in the
winbase.h and a sleep(miliseconds) in uhm...damn, forgot the header unter linux ... but there is one :)
Greetings
cody