In C# if you want the thread to pause you would use:
System.Threading.Thread.Sleep(300);
However, I cannot seem to find a C++ equivalent to this?
How would I do this, or is it just not possible? Any help is appreciated.
In C# if you want the thread to pause you would use:
System.Threading.Thread.Sleep(300);
However, I cannot seem to find a C++ equivalent to this?
How would I do this, or is it just not possible? Any help is appreciated.
http://msdn.microsoft.com/en-us/library/ms686298%28v=vs.85%29.aspx
Sleep(), without all the verbiage at the start.
And note you have to include windows.h in order to use Sleep()
Thanks that worked perfectly.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.