hisoka Posted April 30, 2015 Share Posted April 30, 2015 I read many articles about sleep_for() function in c++ but I still ignore how to use it (with using namespace std;) I need help Link to comment Share on other sites More sharing options...
justsomeguy Posted April 30, 2015 Share Posted April 30, 2015 It's a sleep function, what don't you understand about it? Link to comment Share on other sites More sharing options...
hisoka Posted May 3, 2015 Author Share Posted May 3, 2015 (edited) I did not understand its syntaxCould you please give me a good and clear example of how it is used? Edited May 3, 2015 by hisoka Link to comment Share on other sites More sharing options...
davej Posted May 3, 2015 Share Posted May 3, 2015 Which compiler? For gcc see... https://www.gnu.org/software/libc/manual/html_node/Sleeping.html Link to comment Share on other sites More sharing options...
hisoka Posted May 5, 2015 Author Share Posted May 5, 2015 thank you for the link but my compiler is dev c++ Link to comment Share on other sites More sharing options...
davej Posted May 5, 2015 Share Posted May 5, 2015 Then see... http://www.bloodshed.net/dev/doc/index.html This looks wimpy... http://sourceforge.net/p/dev-cpp/discussion/48211 ...but Dev-C seems to be based on gcc... https://gcc.gnu.org/onlinedocs/ ...and there are plenty of c++ forums... http://www.cplusplus.com/forum/general/ http://www.dreamincode.net/forums/forum/15-c-and-c/ http://cboard.cprogramming.com/cplusplus-programming/ http://forums.codeguru.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now