#include <time.h>
void delay(int ms)
{
clock_t start = clock();
while(clock() - start < ms);
}
C 延时函数
于 2023-03-15 19:07:50 首次发布
#include <time.h>
void delay(int ms)
{
clock_t start = clock();
while(clock() - start < ms);
}