#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");
}
100分钟定时关机,10分钟提醒程序
猜你喜欢
转载自blog.csdn.net/qq_51945248/article/details/114157474
今日推荐
周排行