Answers for "sleep linux in c++"

C++
0

sleep system function linux c++

#include <time.h>

int main(int argc, char const *argv[])
{
    sleep(10);	// wait for 10s

    return 0;
}
Posted by: Guest on June-20-2020
0

sleep c++

#include <unistd.h>
unsigned int sleep(unsigned int seconds);
Posted by: Guest on April-28-2021

Browse Popular Code Answers by Language