Delay in C++ | SoloLearn: Learn to code for FREE!

+1

Delay in C++

My program (C++) must wait 10 seconds until start. How can I do this?

3/5/2020 9:01:10 PM

Vadim Vatolin

2 Answers

New Answer

+3

Use sleep function

+1

http://www.cplusplus.com/reference/thread/this_thread/sleep_for/