sleep system function linux c++

C++
#include <time.h>

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

    return 0;
}
Source

Also in C++: