Problem with function sleep()

This is a discussion on Problem with function sleep() within the C Programming forums, part of the General Programming Boards category; Hello All,
I have got a problem using delay function sleep() in Borland C++ 4.5 under Windows XP SP2.
When ...

Or you could try getting one of the many excellent true win32 compilers and save DOS for the archaeologists.

...not really, it's 32 bit windows compiler i believe (actually there are both 16bit and 32 bit compilers in Borland C++ 4.51) and function sleep() is described in manual, but does not work for some reason.

i've tried - there is the same problem using delay() function as with sleep()