Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

How to sleep in C

#ifdef __unix__
# include <unistd.h>
#elif defined _WIN32
# include <windows.h>
#define sleep(x) Sleep(1000 * (x))
#endif
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #sleep #C
ADD COMMENT
Topic
Name
3+5 =