Answers for "c++ sleep 1 second”"

C++
3

how to use sleep function in c++ windows

// to use sleep function on windows with c++
#include <Windows.h>
Sleep(3000) // based on milliseconds
Posted by: Guest on September-10-2021
0

c++ sleep

std::this_thread::sleep_for(std::chrono::milliseconds(x));
Posted by: Guest on February-22-2022

Browse Popular Code Answers by Language