I have written a source code with a time delay.In unix I have used the
#include <unistd.h>
header file and usleep
function.
What is the equivalent to this on windows?
What开发者_高级运维 library and function should I use if I write the same code on windows.
#include <windows.h>
and
::Sleep( 1000 /* milliseconds */ );
精彩评论