cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
sleep()
sleep()
Feb 9, 2012 at 10:20pm UTC
Maiels
(21)
hello! I tried to use
sleep()
but it says that it has not been declared.
but i have put
#include <time.h>
in fact i have tried everything i found on google.Any way of making it work? Thank you!
Last edited on
Feb 9, 2012 at 10:25pm UTC
Feb 9, 2012 at 10:26pm UTC
Lynx876
(742)
http://msdn.microsoft.com/en-us/library/ms686298
#include <windows.h>
Feb 9, 2012 at 10:28pm UTC
clanmjc
(666)
1
2
3
4
5
#include <windows.h>
//....
Sleep(1000);
//...
Feb 9, 2012 at 10:36pm UTC
Maiels
(21)
Thank you ,now it works. :D
Feb 10, 2012 at 3:39pm UTC
FalterrisAunvre
(35)
Yeah, that capital 'S' got me REAAALLY good...
Mar 14, 2012 at 4:03pm UTC
Eath
(5)
:D You guys on here are a lot of help to the beginner like me haha
Topic archived. No new replies allowed.