tags:

views:

56

answers:

1

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.

+4  A: 
#include <windows.h>

and

::Sleep( 1000 /* milliseconds */ );
Timbo
@Timbo - Thankyou :)
Pavitar