Sleep is a delay function.
i.e. Sleep(1); will delay for 1 second
But, how do you get the program to sleep for less than 1 second.
Sleep (.5); does not sleep for half a second, the smallestnumber here has to be 1 but that is too slow.
Hope you can help.