#pragma once void pause(int milliseconds);
#include "pause.hpp" #include <thread> #include <chrono> void pause(int milliseconds) { std::this_thread::sleep_for(std::chrono::milliseconds(milliseconds)); }
https://en.cppreference.com/w/cpp/thread/sleep_for