100分のタイマーシャットダウン、10分のリマインダープログラム

#include<stdio.h>
#include<windows.h>
#include <stdlib.h>
#include <time.h>

int main()
{
    
    			
    printf("注意休息呀,\n"); 
	Sleep(2000); 
	printf("电脑将在100分钟后关闭");
    Sleep(90*60*1000); 
    printf("电脑将在10分钟后关闭"); 
	system("shutdown -s -t 600");
}


おすすめ

転載: blog.csdn.net/qq_51945248/article/details/114157474