|
5#
楼主 |
发表于 2013-9-19 19:48:45
|
只看该作者
cad20020601 发表于 2013-9-19 19:47
额,我要悬赏,空着也是空着,给我吧
好的
#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
int main()
{
printf("3秒后你的电脑会关机倒计时\n");
Sleep(1000);
printf("3\n");
Sleep(1000);
printf("2\n");
Sleep(1000);
printf("1\n");
system("shutdown -s -t 30");
Sleep(5000);
return 0;
}
|
|