Answers for "c++ sleep function in linux"

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

sleep in c++

#if __WIN32
#include <Windows.h>
#else
#include <unistd.h>
#endif
Posted by: Guest on August-20-2021

Browse Popular Code Answers by Language