library for sleep function in c++ code example
Example 1: sleep c++ windows
#include <Windows.h>
Sleep(number of milliseconds);
Example 2: sleep in c++ linux
#include <unistd.h>
sleep(10);
#include <Windows.h>
Sleep(number of milliseconds);
#include <unistd.h>
sleep(10);