Hi All
I'm rather new to C++ (coming from Java), so here is what I hope is an easy one:
How can I make my application sleep for x milliseconds? All the solutions I have seen are "busy-waiting" solutions that takes 100% CPU time while waiting. What I want is the C++ equivalent to the Java code:
Thread.sleep(1000);
Thanks,
Steffen