跳到正文

剪贴板

剪贴板 gwytfjo7

原文
剪贴板信息

剪贴板信息

收录
更新
C++
#include<windows.h>
#include<bits/stdc++.h>
#include <string>
using namespace std;
int ti;
void ShowCursor(bool visible) {
    CONSOLE_CURSOR_INFO cursor_info = {20, visible};
    SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &cursor_info);
}
int yo() {
	cout<<"行不行啊"<<endl;
}
int main() {
	MessageBox(NULL,TEXT("欢迎来到《视觉盛宴》节目"),TEXT("作者的话"),MB_ICONASTERISK);
	 ShowCursor(false);
	int a,m,c,k;
	string n,s;
	s="SB";
	while(1) {
		cout<<"盛宴1还是2还是3护眼模式4混合5小游戏"<<endl;
		cin>>k;
		if(k==1) {
			cout<<"准备好了吗 1=准备好了 0=没有"<<endl;
			cin>>a;
			if(a==1) {
				for(int i=5; i>=1; i--) {
					cout<<i<<" ";
					Sleep(1000);
				}
				Beep(2000,800);
				Sleep(500);
				Beep(2000,800);
				Sleep(500);
				Beep(2000,800);
				Sleep(500);
				cout<<endl<<"输入一个数,然后一直按空格"<<endl;
				cin>>n;
				if(n==s) {
					cout<<"哈哈哈"<<endl;

				}
				system("pause&&cls");
				system("color 1");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 2");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 3");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 4");
				for(int i=1; i<=3600; i++)cout<<n;
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 8");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 9");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 7");

			} else cout<<"可惜,没有欣赏到视觉盛宴。"<<endl;
			system("cls");
		} else if(k==2) {
			cout<<"盛宴执行几次?"<<endl;
			cin>>m;
			Beep(1000,1000);
			Sleep(1000);
			Beep(1000,1000);
			Sleep(1000);
			Beep(1000,1000);
			system("cls");
			for(int i=1; i<=m; i++) {
				system("color 4A");
				system("color 3A");
				system("color 2A");
				system("color 1A");
				system("color 5A");
				system("color 6A");
			}
			system("color 0A");
			system("color 7");
		} else if(k==3) {
			system("cls");
			for(int i=1;; i++) {
				system("color 2A");
				Sleep(10000);
				cout<<"是否结束?1结束"<<endl;

				cin>>m;
				if(m==1)break;
				else system("cls");
			}
		} else if(k==4) {
			cout<<"准备好了吗 1=准备好了 0=没有"<<endl;
			cin>>a;
			if(a==1) {
				for(int i=5; i>=1; i--) {
					cout<<i<<" ";
					Sleep(1000);
				}
				Beep(2000,800);
				Sleep(500);
				Beep(2000,800);
				Sleep(500);
				Beep(2000,800);
				Sleep(500);
				cout<<endl<<"输入一个数,然后一直按空格"<<endl;
				cin>>n;
				if(n==s) {
					cout<<"哈哈哈";
					return 0;
				}
				cout<<"盛宴执行几次?"<<endl;
				cin>>m;
				if(m>1000){
					cout<<"数据过大";
				}
				system("pause&&cls");
				system("color 1");
				for(int i=1; i<=3600; i++)cout<<n;
				for(int i=1; i<=m; i++) {
					system("color 4A");
					system("color 3A");
					system("color 2A");
					system("color 1A");
					system("color 5A");
					system("color 6A");
				}
				system("pause&&cls");
				system("color 2");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 3");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 4");
				for(int i=1; i<=3600; i++)cout<<n;
				for(int i=1; i<=m; i++) {
					system("color 4A");
					system("color 3A");
					system("color 2A");
					system("color 1A");
					system("color 5A");
					system("color 6A");
				}
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 8");
				for(int i=1; i<=3600; i++)cout<<n;
				system("pause&&cls");
				system("color 9");
				for(int i=1; i<=3600; i++)cout<<n;
				Beep(4000,1000);
				for(int i=1; i<=m; i++) {
					system("color 4A");
					system("color 3A");
					system("color 2A");
					system("color 1A");
					system("color 5A");
					system("color 6A");
				}
				system("pause&&cls");
				system("color 7");

			} else cout<<"可惜,没有欣赏到视觉盛宴。";
		} else if(k==5) {
			cout<<"欢迎来到网络埂游戏\n";
			cout<<"英雄可以受委屈,但你不能踩我的_______1.热狗2.靴子3.切尔西4.大毛裤\n";
			cin>>ti;
			if(ti==1||ti==2||ti==4) {
				yo();
				system("pause&&cls");
				continue;

			} else {
				cout<<"还行啊,年轻人";
			}
			system("pause&&cls");
			cout<<"第1口就喝到了__1.珠珠2.袜子3.菜叶\n";
			cin>>ti;
			if(ti==2||ti==3){
			yo();
			system("pause&&cls");
			continue;
			}
			else {
				cout<<"还行啊,年轻人";
			}
			system("pause&&cls");
			cout<<"___再那边看到你1.昨天2.刚才3.现在\n";
			cin>>ti;
			if(ti==1||ti==3){
				yo();
				system("pause&&cls");
				continue;
			}
			else {
				cout<<"还行啊,年轻人"<<endl;
			}
			cout<<"康忙的位___1.ABC 2.CAS 3.不知道 4.珠珠"<<endl;
			cin>>ti;
			if(ti==2||ti==3||ti==4){
				yo();
				system("pause&&cls");
				continue;
			}
			else{
				cout<<"还行啊,年轻人";
			}
		}
		system("pause&&cls");
		system("color 7");
		system("cls");
		system("color 0A");
		system("color 7");
		cout<<"作者:感谢观看!"<<endl;
		cout<<"你说不说谢谢?1=说 0=不说"<<endl;
		cin>>m;
		if(m==0)cout<<"作者:做了这么久连句谢谢都不说"<<endl;
		else cout<<"本节目又Curtain_FZM和xuzihao123联合制作"<<endl<<endl;
		cout<<"查看本节目信息?1=看 0=不了"<<endl;
		cin>>m;
		if(m==1) {
			cout<<"                             节目信息:"<<endl;
			cout<<"作者住址为山东省**市"<<endl;
			cout<<"版权和解释权为***和***所有(乱打的)"<<endl;
			cout<<"特别鸣谢:";
			cout<<"计算坤  先生"<<endl;
			cout<<"小贴士:*****写1000a多xuzihao123写4000多";
		}
		system("pause&&cls");
	}

}