Sleep in Cpp

From Yefu's notes
Jump to: navigation, search
#include <thread>

using namespace std;
this_thread::sleep_for(chrono::seconds(1));