Answers for "delay c++"

C++
3

delay c++

//in Win32
#include<windows.h>
Sleep(milliseconds);

//in Unix
#include<unistd.h>
unsigned int microsecond = 1000000;
usleep(3 * microsecond); //sleeps for 3 seconds
sleep(3);
Posted by: Guest on March-02-2021
0

time delay in c++

#include<windows.h>
Sleep(milliseconds);
Posted by: Guest on August-08-2021

Browse Popular Code Answers by Language