#include<bits/stdc++.h>
#include<conio.h>
#include<windows.h>
using namespace std;
void close()
{
HWND hwnd = GetConsoleWindow();
HMENU hmenu = GetSystemMenu(hwnd, false);
RemoveMenu(hmenu, SC_CLOSE, MF_BYCOMMAND);
LONG style = GetWindowLong(hwnd, GWL_STYLE);
style &= ~(WS_MINIMIZEBOX);
SetWindowLong(hwnd, GWL_STYLE, style);
SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
ShowWindow(hwnd, SW_SHOWNORMAL);
DestroyMenu(hmenu);
ReleaseDC(hwnd, NULL);
}
void ff()
{
cout<<"其实不会关机...";
}
int main()
{
system("color F0");
cout<<"作为一个砖业坑人好几年的作者,今天,我又来坑人了!"<<endl;
cout<<"偷偷告诉你,按下a可以触发下一条"<<endl;
int ch[100]={0};
ch[0] = _getch();
if (ch[0]==97)
{
cout<<"system(\"start\")?"<<endl;
Sleep(2000);
cout<<"呵呵,这都是老招数了";
Sleep(2000);
close();
cout<<endl<<"新招数:找不同(找不到就关机,不要关闭控制台)"<<endl;
Sleep(5000);
cout<<"看看你的右上角x号,嘿嘿,它已经被禁用了"<<endl;
Sleep(4000);
cout<<"给你3秒钟,仔细看看";
Sleep(3000);
cout<<endl<<"没办法了吧...找吧"<<endl;
Sleep(3000);
cout<<" 1 2 3 4 5 6 7 8 9 10"<<endl;
cout<<"1 l l l l l l l l l l "<<endl;
cout<<"2 l l l l l l l l 1 l "<<endl;
cout<<"3 l l l l l l l l l l "<<endl;
cout<<"4 l l l l l l l l l l "<<endl;
cout<<"请依次输入不同的行数、列数:";
int x,y;
cin>>x>>y;
if (x==2&&y==9)
{
cout<<endl<<"答对了!"<<endl;
cout<<"实话告诉你吧,";
ff();
cout<<"继续...";
}
else
{
cout<<"实话告诉你吧,";
ff();
cout<<"继续...";
}
Sleep(5000);
cout<<endl<<"CSDN上大名鼎鼎的PUBG坑人程序听说过没有?";
Sleep(2000);
cout<<endl<<"复刻版:";
Sleep(2000);
system("cls");
cout<<endl<<"|— —'|"<<endl;
Sleep(2000);
cout<<"怕什么,吓唬你的";
Sleep(2000);
cout<<endl<<"__________________________分割线__________________________"<<endl;
cout<<"作者:今天,你是std"<<endl;
Sleep(2000);
cout<<"今天,萌新在做题"<<endl;
Sleep(2000);
cout<<"题目:输入两个整数,输出他们的和"<<endl;
Sleep(2000);
cout<<"std:哎,cout、return给你,写吧"<<endl;
Sleep(2000);
cout<<"萌新没写int main(),程序报错,报错信息:'cout' does not name a type";
Sleep(2000);
cout<<endl<<"作者:这波操作两个字:出乎意料"<<endl;
Sleep(2000);
cout<<"萌新上CSDN找了一个答案,复制过来,把你删掉了";
Sleep(2000);
cout<<endl<<"__________first kill__________"<<endl;
Sleep(2000);
cout<<"今天,萌新在写坑人游戏,萌新一塌糊涂。";
Sleep(2000);
cout<<endl<<"萌新上CSDN,他输入c++坑人游戏,找到了这个程序";
Sleep(2000);
cout<<"萌新给了作者一个关注,把代码输了过来";
Sleep(2000);
cout<<endl<<"作者:真香~";
Sleep(2000);
cout<<endl<<"恰巧,萌新的程序也运行到了你这个地方";
Sleep(2000);
cout<<endl<<"突然,他的电脑上显示'您的电脑将在60秒后关闭'";
Sleep(2000);
cout<<endl<<"萌新吓了一跳,他的电脑关机了,可他的代码没有保存...";
Sleep(2000);
cout<<endl<<"__________大宝 kill__________"<<endl;
Sleep(2000);
cout<<"全剧终,再见";
}
return 0;
}
|