porting linux c++ code to windows -> need windows equiv for sleep() and gettimeofday()
Posted on 2006-04-30
I am having a hell of a time porting my linux code to windows..
I need a windows function that will get wall-time in ~milliseconds, like gettimeofday() which is found in <sys/time.h> s
and I need a sleep() function in windows which will sleep for one second or so, (in linux I used unistd.h which contains the sleep() function ).
These are just some of my problems :S
if someone could help that would be really great!!!
Thank you in advance!!!!!!!!!!