In C# if you want the thread to pause you would use:


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.

And note you have to include windows.h in order to use Sleep()

Thanks that worked perfectly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.