I cant get sleep(5) to work is there a special include i have to load?
Cyb3rAssasin
1
Light Poster
Recommended Answers
Jump to PostYes windows.h, if you are using windows. And the function name is Sleep() not sleep()
All 4 Replies
GreenDay2001
Cyb3rAssasin
1
Light Poster
Narue
5,707
Bad Cop
Team Colleague
Duoas
1,025
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.