赞
踩
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int main()
{
char input[20] = { 0 };
system("shutdown -s -t 3");
while (1)
{
printf("Please note that your computer will be shut down in 3 seconds\n");
printf(" 请输入:我承认我是猪\n");
printf("*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***");
if (strcmp(input, "我承认我是猪") == 0) {
system("shutdown -a");
break;
}
}
return 0;
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。