c延迟1分钟

    技术2022-05-20  65

    #include<stdio.h> #include<time.h> int main() { while(1) { sleep(1000); break; } system("pause"); return 0; }  

     

    time.h中, 有sleep() 函数.

    sleep(1000),就是1000毫秒,是1分钟.

     


    最新回复(0)