# include <stdio.h>
# include <windows.h>
int main()
{
int i;
Timer:
printf("请输入i :\n");
scanf("%d",&i);
if(i==1)
system("shutdown -s -t 300");
else
{
printf("输入有误");
goto Timer;
}
return 0;
//定时关机小程序(300s)
}
转载请注明原文地址: https://ju.6miu.com/read-965591.html