# sleep

This is a discussion on sleep within the C++ Programming forums, part of the General Programming Boards category; i am trying to use the sleep function but i keep getting Code: 26 C:\Dev-Cpp\bin\introtest.cpp `sleep' undeclared (first use this ...

1. ## sleep

i am trying to use the sleep function but i keep getting
Code:
`26 C:\Dev-Cpp\bin\introtest.cpp `sleep' undeclared (first use this function)`
what header file is this function in?

2. windows.h

It might be capitalised. I see it like that every so often.

3. NVM lmao i had it like this: sleep(500); but it was supposed to be Sleep(500); lol!

4. yeah, thanks :/

me==noob....

Popular pages Recent additions