0
What is the command to have a delay between execution of functions
Having some problems with a c++ game I am making and I need this specific command, the command I want is essentially a timer
2 Réponses
+ 3
Have a look at either sleep_for() or sleep_until(), which can be found inside the <thread> header:
https://en.cppreference.com/w/cpp/thread/sleep_for
https://en.cppreference.com/w/cpp/thread/sleep_until
0
I'll check it out when I get the chance