Depending on the platform
#include <unistd.h>
int main(){
unsigned int microseconds;
usleep(microseconds);
}
#include "stdafx.h"
#include "windows.h"
#include "iostream"
using namespace std;
int main(){
int x = 6000;
Sleep(x);
return 0;
}
© 2024 OneMinuteCode. All rights reserved.