PDA

View Full Version : Where the heck is sleep()?



Credo
02-07-2002, 05:51 PM
What library is "sleep()" in. If it helps, I'm using visual c++.

no-one
02-07-2002, 06:21 PM
stdlib.h

Credo
02-07-2002, 09:22 PM
Thanks.

Muneeb
02-15-2002, 04:20 PM
The sleep in visual c++ starts with a capital Sleep(). Instead try using the SetTimer function if using MFC's becuase sleep actually reduces the performance of a system...........