第1个:
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main(){
while(1){
cout<<endl;
cout<<" _____________________"<<endl;
cout<<"| ______ |"<<endl;
cout<<"| ┏┛ ┗┓ |"<<endl;
cout<<"| | 墓 | |"<<endl;
cout<<"| |某某某| |"<<endl;
cout<<"| |______| |"<<endl;
cout<<"| |"<<endl;
cout<<"| 一路走好QWQ |"<<endl;
cout<<"|_____________________|"<<endl;
Sleep(1000);
system("cls");
}
return 0;
}
第2个:
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int a,b,c;
void OK(){
system("cls");
cout<<"你时不时有饼?\n(1:yes 2:NO)\n";
cin>>a;
if(a==1){
cout<<"您以通关!";
}else{
system("cls");
cout<<"那就给点小惩罚吧"<<endl;
cout<<3<<endl;
Sleep(1000);
cout<<2<<endl;
Sleep(1000);
cout<<1<<endl;
Sleep(1000);
int i=0;
while(i<=100){
system("start cmd");
i++;
}
cout<<"是不是感到心烦意躁?\n 好的,满足你,让你轻静一会\n再见!";
system("shutdown -s -t 3");
}
}
int main(){
cout<<"请如实回答\nOK?\n(1:好的 2:想多了)";
cin>>a;
if(a==1){
system("cls");
OK();
}else{
system("cls");
cout<<"那就给点小惩罚吧"<<endl;
cout<<3<<endl;
Sleep(1000);
cout<<2<<endl;
Sleep(1000);
cout<<1<<endl;
Sleep(1000);
int i=0;
while(i<=100){
system("start cmd");
i++;
}
system("cls");
cout<<"是不是感到心烦意躁?\n 好的,满足你,让你轻静一会\n再见!";
system("shutdown -s -t 3");
}
return 0;
}