没有c++编辑器的可以直接获取资源来玩
#include <iostream>
#include <string>
#include <windows.h>
#include <conio.h>
#include <fstream>
#include <ctime>
#include <time.h>
#include <stdio.h>
#include <cstring>
#include <conio.h>
#include <vector>
#include <windows.h>
using namespace std;
unsigned long long money=0,Speed=1,f=20,x=0,X=0,X_money=100,X_Speed=55;//money=钱,Speed=赚钱速度,f=升级钱数,x=名声  X=赚钱次数  X_money=升级经验钱数  X_Speed=加经验所需次数  string chsuju[37]={"菜鸟","初级富豪(一星)","初级富豪(二星)","初级富豪(三星)","初级富豪(四星)","初级富豪(五星)","中级富豪(一星)","中级富豪(二星)","中级富豪(三星)","中级富豪(四星)","中级富豪(五星)","中级富豪(六星)","高级富豪(一星)","高级富豪(二星)","高级富豪(三星)","高级富豪(四星)","高级富豪(五星)","高级富豪(六星)","高级富豪(七星)","超级富豪(一星)","超级富豪(二星)","超级富豪(三星)","超级富豪(四星)","超级富豪(五星)","超级富豪(六星)","超级富豪(七星)","超级富豪(八星)","终级富豪(一星)","终级富豪(二星)","终级富豪(三星)","终级富豪(四星)","终级富豪(五星)","????","??"};//称号数据 string checi[14]={"0","辆","辆","辆","辆","辆","辆","辆","辆","辆","辆","架","架","艘"}; 
int chemsheng[14]={-1,1,6,10,60,130,2630,3950,13160,65810,263270,1316350,6581700,30000000};
long long che_money[14]={-1,1000,5000,7000,10000,20000,100000,3000000,10000000,50000000,200000000,1000000000,5000000000,20000000000}; 
string cheming[14]={"0","自行车","小电驴","二手摩托车","小摩托车","电动摩托车","汽油摩托车","二手汽车","小汽车","新能源汽车","汽油汽车","私人飞机","大型私人飞机","火箭"};
int mc[31]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
//买车数据 string ccj_ming[11]={"0","好多自行车","小电驴大亨","谁没二手摩托车?","骑上我心爱的小摩托","坐上我心爱的小汽车","","","","",""};
int ccj_yao[11]={-1,10000,10000,10000,10000,10000};
string ccj[21]={"0","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得"}; 
string zxcj_ming[11]={"0","第一桶金","第二桶金","第三桶金","第四桶金","名声大大嘀","名声多多嘀","车太多了","经验小达人","经验达人","经验大达人"};
int zxcj_yao[11]={-1,250,520,54088,114514,99999,999999,99999999,50,250,520};
string zxcj[21]={"0","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得"};
//成就数据 string pifu[12]={"未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得"}; 
string pifu_color[15]={"白色","蓝色","绿色","红色","紫色","灰色","淡蓝色","淡绿色","淡红色","淡紫色","淡白色","淡黄色","黄色"};
int pifu_yao[12]={3,6,9,12,15,18,21,24,27,30,33,36}; 
//皮肤数据 int so=0;
int guaji=0; 
int guaji_yao[2]={100000,10000000};
//挂机数据 int dj=1,g=0,g_dj=1;
//dj=等级,g=经验,g_dj=经验等级 
void guaji_1(){X++; money=money+Speed;if(X%X_Speed==0&&X!=0){g=g+1;Speed+=Speed*0.05;}
}void guaji_2(){if(money>=f){dj=dj+1;Speed+=Speed*0.15;money=money-f;f+=f*0.45;//f+=f/100*65;f+=f*0.15;//f+=f/100*65;}
}void daoru(){cout<<"是否导入之前复制后的数据?(y/n)"<<endl;while(1){if (-32767 == GetAsyncKeyState('N')){return ;}if (-32767 == GetAsyncKeyState('Y')){system("cls"); cout<<"请把之前复制后的数据在复制回来(复制完后按Enter)"<<endl;cin>>money>>Speed>>f>>x>>X>>X_money>>X_Speed;for(int i=0;i<=30;i++){cin>>mc[i];}for(int i=0;i<=20;i++){cin>>ccj[i];} for(int i=0;i<=20;i++){cin>>zxcj[i];} for(int i=0;i<=11;i++){cin>>pifu[i];}cin>>dj>>g>>g_dj;system("cls");cout<<"正在加载数据中..."<<endl;Sleep(1000);return ;}}return ;
} //隐藏光标
void hide(){HANDLE h_GAME =GetStdHandle(STD_OUTPUT_HANDLE);CONSOLE_CURSOR_INFO cursor_info;GetConsoleCursorInfo(h_GAME,&cursor_info);cursor_info.bVisible=false;SetConsoleCursorInfo(h_GAME,&cursor_info);
}void paiming(){//称号规则输出 to: ;system("cls");cout<<" 初级富豪(一星): 10级"<<endl;cout<<" 初级富豪(二星): 11级"<<endl;cout<<" 初级富豪(三星): 12级"<<endl;cout<<" 初级富豪(四星): 13级"<<endl;cout<<" 初级富豪(五星): 14级"<<endl;cout<<"***********************"<<endl;cout<<" 中级富豪(一星): 15级"<<endl;cout<<" 中级富豪(二星): 16级"<<endl;cout<<" 中级富豪(三星): 17级"<<endl;cout<<" 中级富豪(四星): 18级"<<endl;cout<<" 中级富豪(五星): 19级"<<endl;cout<<" 中级富豪(六星): 20级"<<endl;cout<<"&&&&&&&&&&&&&&&&&&&&&&&"<<endl; cout<<" 高级富豪(一星): 21级"<<endl;cout<<" 高级富豪(二星): 22级"<<endl;cout<<" 高级富豪(三星): 23级"<<endl;cout<<" 高级富豪(四星): 24级"<<endl;cout<<" 高级富豪(五星): 25级"<<endl;cout<<" 高级富豪(六星): 26级"<<endl;cout<<" 高级富豪(七星): 27级"<<endl;cout<<"+++++++++++++++++++++++"<<endl; cout<<" 超级富豪(一星): 28级"<<endl;cout<<" 超级富豪(二星): 29级"<<endl;cout<<" 超级富豪(三星): 30级"<<endl;cout<<" 超级富豪(四星): 31级"<<endl;cout<<" 超级富豪(五星): 32级"<<endl;cout<<" 超级富豪(六星): 33级"<<endl;cout<<" 超级富豪(七星): 34级"<<endl;cout<<" 超级富豪(八星): 35级"<<endl;cout<<"======================="<<endl;cout<<" 终级富豪(一星): 36级"<<endl;cout<<" 终级富豪(二星): 37级"<<endl;cout<<" 终级富豪(三星): 38级"<<endl;cout<<" 终级富豪(四星): 39级"<<endl;cout<<" 终级富豪(五星): 40级"<<endl;cout<<"$$$$$$$$$$$$$$$$$$$$$$$"<<endl;cout<<" "<<chsuju[31]<<"         45级"<<endl;cout<<" "<<chsuju[32]<<"             50级"<<endl; cout<<endl<<endl; //判断称号 if(dj<10){cout<<"            ======"<<endl;cout<<"您现在是:  ="<<chsuju[0]<<"="<<endl;cout<<"            ======"<<endl;}else if(dj<=40){cout<<"            ================"<<endl;cout<<"您现在是:  ="<<chsuju[dj-9]<<"="<<endl;cout<<"            ================"<<endl;}else if(dj>=45&&dj<=50){cout<<"            ============"<<endl;cout<<"您现在是:  ="<<chsuju[32]<<"="<<endl;cout<<"            ============"<<endl;}else if(dj>=50){cout<<"            ======"<<endl;cout<<"您现在是:  ="<<chsuju[33]<<"="<<endl;cout<<"            ======"<<endl;}if(dj==37){Sleep(500); cout<<"下一级有彩蛋!!!"<<endl;}if(dj==38){Sleep(500);cout<<"彩蛋马上开始!!!" <<endl;Sleep(1000); system("start https://www.bilibili.com/video/BV1gc411W7ei/?spm_id_from=trigger_reload&vd_source=22158b889b5360491372ab2771a35e80");Sleep(10000);cout<<"下一级还有彩蛋哦!!!"<<endl; }if(dj==39){Sleep(500);cout<<"彩蛋马上开始!!!" <<endl;Sleep(1000);system("start https://www.bilibili.com/video/BV1Kv4y1p7n3/?spm_id_from=333.788.recommend_more_video.2&vd_source=22158b889b5360491372ab2771a35e80");}if(dj==40){cout<<"您富可敌国!!!"<<endl;cout<<"祝贺你"<<endl;cout<<"     ***     ***"<<endl;cout<<"    *****   *****"<<endl;cout<<"   ******* *******"<<endl;cout<<"  *****************"<<endl;cout<<"  *****************"<<endl;cout<<"   ***************"<<endl;cout<<"    *************"<<endl;cout<<"     ***********"<<endl;cout<<"      *********"<<endl;cout<<"       *******"<<endl;cout<<"        *****"<<endl;cout<<"         ***"<<endl;system("start https://www.bilibili.com/video/BV1hs4y197wU/?spm_id_from=autoNext&vd_source=22158b889b5360491372ab2771a35e80");cout<<"小提示:"<<endl;cout<<"40级以上时打开排行榜"<<endl;cout<<"又可触发彩蛋!!!"<<endl;cout<<"快去试试吧!" <<endl;}if(dj>=45){if(chsuju[31]=="????"){system("cls");chsuju[31]="究级富豪";string abc[6]={"","????","究???","究级??","究级富?","究级富豪"}; cout<<"????";Sleep(800);cout<<"-";Sleep(1000);cout<<">";Sleep(1200);system("cls"); for(int i=1;i<=5;i++){cout<<"????";cout<<"-";cout<<">";cout<<abc[i];Sleep(800);system("cls");}Sleep(500);cout<<"你已触发彩蛋"<<endl;Sleep(500);cout<<"观看视频"<<endl; Sleep(1000);system("start https://www.bilibili.com/video/BV1ST411h73B/?spm_id_from=333.337.search-card.all.click");goto to;}if(chsuju[32]=="??"){system("cls");chsuju[32]="神豪"; string abc[4]={"","??","神?","神豪"}; cout<<"??";Sleep(800);cout<<"-";Sleep(1000);cout<<">";Sleep(1200);system("cls"); for(int i=1;i<=3;i++){cout<<"??";cout<<"-";cout<<">";cout<<abc[i];Sleep(800);system("cls");}Sleep(500);cout<<"恭喜你!获得最强称号!点个关注吧!作者:爱学c++"<<endl;system("start https://blog.csdn.net/C5408C?type=blog");goto to;} }cout<<"按n退出:";while(1){if (-32767 == GetAsyncKeyState('N')){return ;}}
}void maiche(int k){int shuliang;if(che_money[k]>money){cout<<"钱不够,还差"<<che_money[k]-money<<"元"<<endl;Sleep(800);return ;} cout<<"要1辆按1 要10辆按2 要100辆按3 要1000辆按4 要一万辆按5 要十万辆按6 要一百万辆按7"<<endl;while(1){if (-32767 == GetAsyncKeyState('1')){shuliang=1;break;}if (-32767 == GetAsyncKeyState('2')){shuliang=10;break;}if (-32767 == GetAsyncKeyState('3')){shuliang=100;break;}if (-32767 == GetAsyncKeyState('4')){shuliang=1000;break;}if (-32767 == GetAsyncKeyState('5')){shuliang=10000;break;}if (-32767 == GetAsyncKeyState('6')){shuliang=100000;break;}if (-32767 == GetAsyncKeyState('7')){shuliang=1000000;break;}}if(((unsigned long long)shuliang*(unsigned long long)che_money)>money){cout<<"钱不够,还差"<< (unsigned long long)shuliang*(unsigned long long)che_money-money<<"元"<<endl;Sleep(800);return ; }system("cls");money=money-che_money[k]*shuliang;x=x+chemsheng[k]*shuliang;mc[k]+=shuliang;cout<<"恭喜获得"<<shuliang<<checi[k]<<cheming[k]<<"!!!"<<endl; cout<<"按n退出 按m继续买";while(1){if (-32767 == GetAsyncKeyState('N')){return ;}if (-32767 == GetAsyncKeyState('M')){maiche(k); return ; }}
}//标题输出 
void biaoti(){for(int i=1;i<=21;i++){cout<<"=";Sleep(100);}cout<<endl;cout<<"=";Sleep(100);cout<<"  一千万亿很简单   ";Sleep(100);cout<<"="; cout<<endl<<"=";for(int i=1;i<=6;i++){cout<<" ";}cout<<"(2.0.1)"; cout<<"      =";cout<<endl;Sleep(100);for(int i=1;i<=21;i++){cout<<"=";Sleep(100);}cout<<endl;Sleep(100);cout<<"=";Sleep(200);cout<<"备";Sleep(200);cout<<"注";Sleep(200);cout<<":";Sleep(400);cout<<"(";Sleep(200);cout<<"可";Sleep(200);cout<<"能";Sleep(200);cout<<"吧";Sleep(200);cout<<"~";Sleep(200);cout<<"~";Sleep(200);cout<<"~";Sleep(200);cout<<")";Sleep(200);cout<<"="<<endl;Sleep(600);cout<<"=";Sleep(200);cout<<"  (";Sleep(200);cout<<"-";Sleep(200);cout<<"_";Sleep(200);cout<<"-";Sleep(200);cout<<"'";Sleep(200);cout<<")";Sleep(200);cout<<"           ="<<endl;Sleep(250);for(int i=1;i<=21;i++){cout<<"=";Sleep(100);}cout<<endl; Sleep(800);cout<<"按n开始游戏"<<endl; while(1){if (-32767 == GetAsyncKeyState('N')){break;}}
}int main(){hide();/*MessageBox(0, TEXT("如果你是刚玩这个游戏,请新建一个名为 data2 的文本文档"), TEXT("注意"), MB_OK);if (MessageBox(0, TEXT("为了游戏的体验感优良,请不要更改data2文本文档"), TEXT("特别重要提示"), MB_OKCANCEL | MB_ICONINFORMATION) != IDOK){MessageBox(0, TEXT("既然你不同意,那就别玩了"), TEXT("你个**"), MB_OK);SetFileAttributes("data2.txt",FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN); return 0;}*/hide();biaoti();hide();//登录或创建账号 //key_3();hide();system("cls");//daoru();//Sleep(1000);//主代码while(1){hide();system("cls");cout<<"赚钱 按1(赚钱速度为"<<Speed<<")"<<endl;cout<<"$:"<<money<<"    级别:"<<dj<<"    经验:"<<g<<endl;cout<<"================="<<endl;cout<<"=升级--------按2="<<endl;cout<<"=称号--------按3="<<endl;cout<<"=买车,买房---按4="<<endl;cout<<"=挂机--------按5="<<endl;cout<<"=攻略--------按6="<<endl;cout<<"=成就--------按7="<<endl;cout<<"=皮肤--------按8="<<endl; cout<<"=保存--------按9="<<endl; cout<<"================="<<endl;if(guaji>0){guaji_1();if(guaji==2&&so==5000) guaji_2();}for(unsigned long long i=1;i!=so;i++){if (-32767 == GetAsyncKeyState('1')){X++; money=money+Speed;if(X%X_Speed==0&&X!=0){g=g+1;Speed+=Speed*0.05;}break;}if (-32767 == GetAsyncKeyState('2')){unsigned long long Speed1=0;while(1){system("cls");cout<<"=========升级========="<<endl;cout<<"=退出             按1="<<endl; cout<<"=升级赚钱速度     按2="<<endl;cout<<"=升级加经验速度   按3="<<endl;cout<<"=升级挂机         按4="<<endl; cout<<"======================"<<endl; while(1){if (-32767 == GetAsyncKeyState('2')){if(Speed<8) Speed1=Speed+2;else{Speed1=Speed+Speed*0.15;} cout<<"赚钱速度:"<<Speed<<"->"<<Speed1<<endl;cout<<"等级:"<<dj<<"->"<<dj+1<<endl;cout<<"要"<<f<<"元"<<endl;cout<<"确定升级吗?(y/n)"<<endl; while(1){if (-32767 == GetAsyncKeyState('Y')){if(money<f){system("cls");cout<<"钱不够,还差"<<f-money<<"元"<<endl;Sleep(800);break;}else{dj=dj+1;if(Speed<8) Speed=Speed+2;else{Speed+=Speed*0.15;} money=money-f;f+=f*0.45;//f+=f/100*65;f+=f*0.15;//f+=f/100*65;cout<<"已升级"<<endl;Sleep(500);break;}} if (-32767 == GetAsyncKeyState('N')){break;}}break;}if (-32767 == GetAsyncKeyState('3')){if(g_dj==6){cout<<"加经验所需的赚钱次数:"<<X_Speed<<endl;cout<<"经验等级:"<<g_dj<<endl;cout<<"已满级"<<endl;Sleep(1000);break;} cout<<"加经验所需的赚钱次数:"<<X_Speed<<"->"<<X_Speed-5<<endl;cout<<"经验等级:"<<g_dj<<"->"<<g_dj+1<<endl;cout<<"要"<<X_money<<"元"<<endl;cout<<"确定升级吗?(y/n)"<<endl; while(1){if (-32767 == GetAsyncKeyState('Y')){if(money<X_money){system("cls");cout<<"钱不够,还差"<<X_money-money<<"元"<<endl;Sleep(800);break;}else{g_dj=g_dj+1;money=money-X_money;X_Speed=X_Speed-5;X_money*=3;cout<<"已升级"<<endl;Sleep(500); break;}} if (-32767 == GetAsyncKeyState('N')){break;}}break;}if (-32767 == GetAsyncKeyState('4')){if(guaji==2){cout<<"已满级"<<endl;Sleep(800);break;}if(dj<15){cout<<"等级不够,还差"<<15-dj<<"级"<<endl;Sleep(800);break;}else if(dj>=15&&dj<25&&guaji==1){cout<<"等级不够,还差"<<25-dj<<"级"<<endl;Sleep(800);break;}if(guaji==0){cout<<"可升级为自动赚钱"<<endl; cout<<"要1000000元"<<endl;cout<<"确定升级吗?(y/n)"<<endl; }if(guaji==1){cout<<"可升级为自动赚钱加自动升级"<<endl; cout<<"要100000000元"<<endl;cout<<"确定升级吗?(y/n)"<<endl;}while(1){if (-32767 == GetAsyncKeyState('Y')){if(money<guaji_yao[guaji]){system("cls");cout<<"钱不够,还差"<<guaji_yao[guaji]-money<<"元"<<endl;Sleep(800);break;}else{so=5000;guaji++;money=money-guaji_yao[guaji];cout<<"已升级"<<endl;Sleep(500);break;}if(guaji==2)MessageBox(0, TEXT("按c可存钱,再按c可继续自动升级"), TEXT("注意"), MB_OK);} if (-32767 == GetAsyncKeyState('N')){break;}}break;}if (-32767 == GetAsyncKeyState('1')){goto go;}}}go: break;}if (-32767 == GetAsyncKeyState('3')){paiming();system("cls");break;}if (-32767 == GetAsyncKeyState('4')){while(1){int c=0,k=0;system("cls");cout<<"买车:1    买房(未完成):2    退出:3    $:"<<money<<"    名声:"<<x<<"    仓库:4"<<endl;while(1){if (-32767 == GetAsyncKeyState('1')){while(1){system("cls");cout<<"=========================买车========================"<<endl;cout<<"==1000$         自行车       (名声+1)        按1  =="<<endl;cout<<"==5000$         小电驴       (名声+6)        按2  =="<<endl;cout<<"==7000$         二手摩托车   (名声+10)       按3  =="<<endl;cout<<"==10000$        小摩托车     (名声+60)       按4  =="<<endl;cout<<"==20000$        电动摩托车   (名声+130)      按5  =="<<endl;cout<<"==100000$       汽油摩托车   (名声+2630)     按6  =="<<endl;cout<<"==3000000$      二手汽车     (名声+3950)     按7  =="<<endl;cout<<"==10000000$     小汽车       (名声+13160)    按8  =="<<endl;cout<<"==50000000$     新能源汽车   (名声+65810)    按9  =="<<endl;cout<<"==200000000$    汽油汽车     (名声+263270)   按a  =="<<endl;cout<<"==1000000000$   私人飞机     (名声+1316350)  按b  =="<<endl;cout<<"==5000000000$   大型私人飞机 (名声+6581700)  按c  =="<<endl;cout<<"==20000000000$  火箭         (名声+30000000) 按d  =="<<endl; cout<<"==退出  按e                                       =="<<endl;cout<<"===================================================="<<endl;cout<<"名声:"<<x<<endl;cout<<"$:"<<money<<endl;while(1){if (-32767 == GetAsyncKeyState('1')){maiche(1);break;}if (-32767 == GetAsyncKeyState('2')){maiche(2);break;}if (-32767 == GetAsyncKeyState('3')){maiche(3);break;}if (-32767 == GetAsyncKeyState('4')){maiche(4);break;}if (-32767 == GetAsyncKeyState('5')){maiche(5);break;}if (-32767 == GetAsyncKeyState('6')){maiche(6);break;}if (-32767 == GetAsyncKeyState('7')){maiche(7);break;}if (-32767 == GetAsyncKeyState('8')){maiche(8);break;}if (-32767 == GetAsyncKeyState('9')){maiche(9);break;}if (-32767 == GetAsyncKeyState('A')){maiche(10);break;}if (-32767 == GetAsyncKeyState('B')){maiche(11);break;}if (-32767 == GetAsyncKeyState('C')){maiche(12);break;}if (-32767 == GetAsyncKeyState('D')){maiche(13);break;}if (-32767 == GetAsyncKeyState('E')){goto go1;}}system("cls");}}if (-32767 == GetAsyncKeyState('2')){system("cls");cout<<"========================================="<<endl;cout<<"==5000$    合租小房子  (名声+2)     按1=="<<endl;cout<<"==36000$   合租大房子  (名声+6)     按2=="<<endl;cout<<"==100000$          (名声+2)     按3=="<<endl;cout<<"========================================="<<endl;break;}if (-32767 == GetAsyncKeyState('3')){goto go1;}if (-32767 == GetAsyncKeyState('4')){system("cls");for(int i=1;i<=13;i++){cout<<"您的"<<cheming[i]<<"有"<<mc[i]<<checi[i]<<endl; }Sleep(500);cout<<"按n退出"<<endl; while(1){if (-32767 == GetAsyncKeyState('N')){break;}}break;}}}go1: ;system("cls");break;}if (-32767 == GetAsyncKeyState('5')){if(guaji>0){cout<<"无效操作"<<endl;Sleep(800);break; }long long guaji=0;//金钱 int gjsj=0;//时间 int as=-1;Sleep(200);MessageBox(NULL, "挂机中按n退出", "注意", MB_OK);MessageBox(NULL, "最多挂机100分钟,每秒获得一次金钱。", "注意", MB_OK);while(1){system("cls");cout<<"退出按1,挂机按2"<<endl;while(1){if (-32767 == GetAsyncKeyState('1')){break;}if (-32767 == GetAsyncKeyState('2')){system("cls");cout<<"开始挂机"<<endl;Sleep(500);system("cls");for(int i=0;i<=6000;i++){cout<<"已挂机"<<i<<"秒"<<endl;for(int j=1;j<=90;j++){if (-32767 == GetAsyncKeyState('N')){as=0;break;}Sleep(1);}gjsj++;if(as==0) break;X++;if(X%50==0){g=g+1;Speed+=Speed/8;}system("cls");}money+=(Speed*gjsj);cout<<"已挂机完毕,您获得了"<<Speed*gjsj<<"元"<<endl;MessageBox(NULL, "已挂机完毕", "提示", MB_OK);break;}}break;}break;}if (-32767 == GetAsyncKeyState('6')){system("cls");MessageBox(NULL, "想快点赚钱就快点升级(手动赚钱最快哦!!!)", "攻略", MB_OK);MessageBox(NULL, "经验也可以增加赚钱速度!", "攻略", MB_OK);MessageBox(NULL, "记得看称号(到了终级富豪以上有惊喜!!!)", "攻略", MB_OK);MessageBox(NULL, "没时间玩的话试试挂机,但最多挂机100分钟,挂机也可以加经验哟!", "攻略", MB_OK);MessageBox(NULL, "买车买房中可以获得成就哦!", "攻略", MB_OK);MessageBox(NULL, "完成任务可以获得成就哦!", "攻略", MB_OK);MessageBox(NULL, "好吧,就这样吧,攻略结束^_^", "攻略", MB_OK);break;}if(-32767 == GetAsyncKeyState('7')){system("cls");for(int i=1;i<=5;i++){if(mc[i]>=ccj_yao[i]&&ccj[i]=="未获得"){cout<<"恭喜获得成就:"<<ccj_ming[i]<<"!!!(买车成就)"<<endl;ccj[i]="已获得";Sleep(500); } }for(int i=1;i<=4;i++){if(zxcj[i]=="未获得"&&money>=zxcj_yao[i]){cout<<"恭喜获得成就:"<<zxcj_ming[i]<<"!!!(主线成就)"<<endl;zxcj[i]="已获得";Sleep(500); }}for(int i=5;i<=7;i++){if(zxcj[i]=="未获得"&&x>=zxcj_yao[i]){cout<<"恭喜获得成就:"<<zxcj_ming[i]<<"!!!(主线成就)"<<endl; zxcj[i]="已获得";Sleep(500); }}for(int i=8;i<=10;i++){if(zxcj[i]=="未获得"&&g>=zxcj_yao[i]){cout<<"恭喜获得成就:"<<zxcj_ming[i]<<"!!!(主线成就)"<<endl;zxcj[i]="已获得";Sleep(500);  }}cout<<"=======================买车成就======================="<<endl;cout<<"=1.好多自行车          (拥有自行车10000辆)     "<<ccj[1]<<"="<<endl;cout<<"=2.小电驴大亨          (拥有小电驴10000辆)     "<<ccj[2]<<"="<<endl;cout<<"=3.谁没二手摩托车?    (拥有二手摩托车10000辆) "<<ccj[3]<<"="<<endl;cout<<"=4.骑上我心爱的小摩托  (拥有小摩托车10000辆)   "<<ccj[4]<<"="<<endl;cout<<"=5.坐上我心爱的小汽车  (拥有小汽车10000辆)     "<<ccj[5]<<"="<<endl;cout<<"=======================主线成就======================="<<endl;cout<<"=1. 第一桶金           (赚钱速度>=50元)        "<<zxcj[1]<<"="<<endl;cout<<"=2. 第二桶金           (赚钱速度>=520元)       "<<zxcj[2]<<"="<<endl;cout<<"=3. 第三桶金           (赚钱速度>=54088元)     "<<zxcj[3]<<"="<<endl;cout<<"=4. 第四桶金           (赚钱速度>=114514元)    "<<zxcj[4]<<"="<<endl; cout<<"=5. 名声大大嘀         (获得99999名声)         "<<zxcj[5]<<"="<<endl;cout<<"=6. 名声多多嘀         (获得999999名声)        "<<zxcj[6]<<"="<<endl;cout<<"=7. 车太多了           (获得99999999名声)      "<<zxcj[7]<<"="<<endl;cout<<"=8. 经验小达人         (获得50经验)            "<<zxcj[8]<<"="<<endl;cout<<"=9. 经验达人           (获得250经验)           "<<zxcj[9]<<"="<<endl;cout<<"=10.经验大达人         (获得520经验)           "<<zxcj[10]<<"="<<endl;cout<<"======================================================"<<endl; Sleep(500);cout<<"按n退出"<<endl; while(1){if (-32767 == GetAsyncKeyState('N')){break;}}break;}if (-32767 == GetAsyncKeyState('8')){for(int i=0;i<=11;i++){if(pifu_yao[i]<=dj) pifu[i]="已获得";}while(1){system("cls");cout<<"================皮肤==============="<<endl;cout<<"=白色    (免费)       按1         ="<<endl;cout<<"=蓝色    (等级要为3)  按2 ("<<pifu[0]<<")="<<endl;cout<<"=绿色    (等级要为6)  按3 ("<<pifu[1]<<")="<<endl;cout<<"=红色    (等级要为9)  按4 ("<<pifu[2]<<")="<<endl;cout<<"=紫色    (等级要为12) 按5 ("<<pifu[3]<<")="<<endl;cout<<"=灰色    (等级要为15) 按6 ("<<pifu[4]<<")="<<endl;cout<<"=淡蓝色  (等级要为18) 按7 ("<<pifu[5]<<")="<<endl;cout<<"=淡绿色  (等级要为21) 按8 ("<<pifu[6]<<")="<<endl;cout<<"=淡红色  (等级要为24) 按9 ("<<pifu[7]<<")="<<endl;cout<<"=淡紫色  (等级要为27) 按a ("<<pifu[8]<<")="<<endl;cout<<"=淡白色  (等级要为30) 按b ("<<pifu[9]<<")="<<endl;cout<<"=淡黄色  (等级要为33) 按c ("<<pifu[10]<<")="<<endl;cout<<"=黄色    (等级要为36) 按d ("<<pifu[11]<<")="<<endl;cout<<"=退出                 按e         ="<<endl;cout<<"==================================="<<endl;while(1){if (-32767 == GetAsyncKeyState('1')){system("color 7");cout<<"已设置为 白色"<<endl;Sleep(800);break;}if (-32767 == GetAsyncKeyState('2')){if(dj>=3){system("color 1");cout<<"已设置为 蓝色"<<endl;}else{system("cls"); cout<<"需再升"<<3-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('3')){if(dj>=6){system("color 2");cout<<"已设置为 绿色"<<endl;}else{system("cls"); cout<<"需再升"<<6-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('4')){if(dj>=9){system("color 4");cout<<"已设置为 红色"<<endl;}else{system("cls"); cout<<"需再升"<<9-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('5')){if(dj>=12){system("color 5");cout<<"已设置为 紫色"<<endl;}else{system("cls"); cout<<"需再升"<<12-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('6')){if(dj>=15){system("color 8");cout<<"已设置为 灰色"<<endl;}else{system("cls"); cout<<"需再升"<<15-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('7')){if(dj>=18){system("color 9");cout<<"已设置为 淡蓝色"<<endl;}else{system("cls"); cout<<"需再升"<<18-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('8')){if(dj>=21){system("color 3");cout<<"已设置为 浅绿色"<<endl;}else{system("cls"); cout<<"需再升"<<21-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('9')){if(dj>=24){system("color C");cout<<"已设置为 淡红色"<<endl;}else{system("cls"); cout<<"需再升"<<24-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('A')){if(dj>=27){system("color D");cout<<"已设置为 淡紫色"<<endl;}else{system("cls"); cout<<"需再升"<<27-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('B')){if(dj>=30){system("color F");cout<<"已设置为 淡白色"<<endl;}else{system("cls"); cout<<"需再升"<<30-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('C')){if(dj>=33){system("color E");cout<<"已设置为 淡黄色"<<endl;}else{system("cls"); cout<<"需再升"<<33-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('D')){if(dj>=36){system("color 6");cout<<"已设置为 黄色"<<endl;}else{system("cls"); cout<<"需再升"<<36-dj<<"级才可获得"<<endl;} Sleep(800);break;}if (-32767 == GetAsyncKeyState('E')){goto t;}}}t: break;}if (-32767 == GetAsyncKeyState('9')){system("cls");cout<<"请复制以下数据到一个文本文档:"<<endl;printf("%llu %llu %llu %llu %llu %llu %llu\n",money,Speed,f,x,X,X_money,X_Speed);//cout<<money<<" "<<Speed<<" "<<f<<" "<<x<<" "<<X<<" "<<X_money<<" "<<X_Speed<<endl;for(int i=0;i<=30;i++){printf("%d ",mc[i]);//cout<<mc[i]<<" ";}cout<<endl;for(int i=0;i<=21;i++){//printf("%s ",ccj[i]);cout<<ccj[i]<<" ";if(i==10) cout<<endl;}cout<<endl;for(int i=0;i<=21;i++){//printf("%s ",zxcj[i]);cout<<zxcj[i]<<" ";if(i==10) cout<<endl;}cout<<endl;for(int i=0;i<=11;i++){//printf("%s ",pifu[i]);cout<<pifu[i]<<" ";}printf("%d %d %d\n",dj,g,g_dj);//cout<<endl<<dj<<" "<<g<<" "<<g_dj<<endl;cout<<"按n退出:";while(1){if (-32767 == GetAsyncKeyState('N')){break;}}break; }if (-32767 == GetAsyncKeyState('C')){if(so==5000) so=4999;if(so==4999) so=5000;}}system("cls");}return 0;
}#include <iostream>
 #include <string>
 #include <windows.h>
 #include <conio.h>
 #include <fstream>
 #include <ctime>
 #include <time.h>
 #include <stdio.h>
 #include <cstring>
 #include <conio.h>
 #include <vector>
 #include <windows.h>
 using namespace std;
 unsigned long long money=0,Speed=1,f=20,x=0,X=0,X_money=100,X_Speed=55;
 //money=钱,Speed=赚钱速度,f=升级钱数,x=名声  X=赚钱次数  X_money=升级经验钱数  X_Speed=加经验所需次数  
string chsuju[37]={"菜鸟","初级富豪(一星)","初级富豪(二星)","初级富豪(三星)","初级富豪(四星)","初级富豪(五星)","中级富豪(一星)","中级富豪(二星)","中级富豪(三星)","中级富豪(四星)","中级富豪(五星)","中级富豪(六星)","高级富豪(一星)","高级富豪(二星)","高级富豪(三星)","高级富豪(四星)","高级富豪(五星)","高级富豪(六星)","高级富豪(七星)","超级富豪(一星)","超级富豪(二星)","超级富豪(三星)","超级富豪(四星)","超级富豪(五星)","超级富豪(六星)","超级富豪(七星)","超级富豪(八星)","终级富豪(一星)","终级富豪(二星)","终级富豪(三星)","终级富豪(四星)","终级富豪(五星)","????","??"};
//称号数据
string checi[14]={"0","辆","辆","辆","辆","辆","辆","辆","辆","辆","辆","架","架","艘"}; 
 int chemsheng[14]={-1,1,6,10,60,130,2630,3950,13160,65810,263270,1316350,6581700,30000000};
 long long che_money[14]={-1,1000,5000,7000,10000,20000,100000,3000000,10000000,50000000,200000000,1000000000,5000000000,20000000000}; 
 string cheming[14]={"0","自行车","小电驴","二手摩托车","小摩托车","电动摩托车","汽油摩托车","二手汽车","小汽车","新能源汽车","汽油汽车","私人飞机","大型私人飞机","火箭"};
 int mc[31]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 //买车数据 
string ccj_ming[11]={"0","好多自行车","小电驴大亨","谁没二手摩托车?","骑上我心爱的小摩托","坐上我心爱的小汽车","","","","",""};
 int ccj_yao[11]={-1,10000,10000,10000,10000,10000};
 string ccj[21]={"0","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得"}; 
 string zxcj_ming[11]={"0","第一桶金","第二桶金","第三桶金","第四桶金","名声大大嘀","名声多多嘀","车太多了","经验小达人","经验达人","经验大达人"};
 int zxcj_yao[11]={-1,250,520,54088,114514,99999,999999,99999999,50,250,520};
 string zxcj[21]={"0","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得"};
 //成就数据 
 string pifu[12]={"未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得","未获得"}; 
 string pifu_color[15]={"白色","蓝色","绿色","红色","紫色","灰色","淡蓝色","淡绿色","淡红色","淡紫色","淡白色","淡黄色","黄色"};
 int pifu_yao[12]={3,6,9,12,15,18,21,24,27,30,33,36}; 
 //皮肤数据 
int so=0;
 int guaji=0; 
 int guaji_yao[2]={100000,10000000};
 //挂机数据 
 int dj=1,g=0,g_dj=1;
 //dj=等级,g=经验,g_dj=经验等级 
 void guaji_1(){
     X++; 
     money=money+Speed;
     if(X%X_Speed==0&&X!=0){
         g=g+1;
         Speed+=Speed*0.05;
     }
 }
void guaji_2(){
     if(money>=f){
         dj=dj+1;
         Speed+=Speed*0.15;
         money=money-f;
         f+=f*0.45;//f+=f/100*65;
         f+=f*0.15;//f+=f/100*65;
     }
 }
void daoru(){
     cout<<"是否导入之前复制后的数据?(y/n)"<<endl;
     while(1){
         if (-32767 == GetAsyncKeyState('N')){
             return ;
         }
         if (-32767 == GetAsyncKeyState('Y')){
             system("cls"); 
             cout<<"请把之前复制后的数据在复制回来(复制完后按Enter)"<<endl;
             cin>>money>>Speed>>f>>x>>X>>X_money>>X_Speed;
             for(int i=0;i<=30;i++){
                 cin>>mc[i];
             }
             for(int i=0;i<=20;i++){
                 cin>>ccj[i];
             } 
             for(int i=0;i<=20;i++){
                 cin>>zxcj[i];
             } 
             for(int i=0;i<=11;i++){
                 cin>>pifu[i];
             }
             cin>>dj>>g>>g_dj;
             system("cls");
             cout<<"正在加载数据中..."<<endl;
             Sleep(1000);
             return ;
         }
     }
     return ;
 } 
//隐藏光标
 void hide(){
     HANDLE h_GAME =GetStdHandle(STD_OUTPUT_HANDLE);
     CONSOLE_CURSOR_INFO cursor_info;
     GetConsoleCursorInfo(h_GAME,&cursor_info);
     cursor_info.bVisible=false;
     SetConsoleCursorInfo(h_GAME,&cursor_info);
 }
  
 void paiming(){//称号规则输出 
     to: ;
     system("cls");
     cout<<" 初级富豪(一星): 10级"<<endl;
     cout<<" 初级富豪(二星): 11级"<<endl;
     cout<<" 初级富豪(三星): 12级"<<endl;
     cout<<" 初级富豪(四星): 13级"<<endl;
     cout<<" 初级富豪(五星): 14级"<<endl;
     cout<<"***********************"<<endl;
     cout<<" 中级富豪(一星): 15级"<<endl;
     cout<<" 中级富豪(二星): 16级"<<endl;
     cout<<" 中级富豪(三星): 17级"<<endl;
     cout<<" 中级富豪(四星): 18级"<<endl;
     cout<<" 中级富豪(五星): 19级"<<endl;
     cout<<" 中级富豪(六星): 20级"<<endl;
     cout<<"&&&&&&&&&&&&&&&&&&&&&&&"<<endl; 
     cout<<" 高级富豪(一星): 21级"<<endl;
     cout<<" 高级富豪(二星): 22级"<<endl;
     cout<<" 高级富豪(三星): 23级"<<endl;
     cout<<" 高级富豪(四星): 24级"<<endl;
     cout<<" 高级富豪(五星): 25级"<<endl;
     cout<<" 高级富豪(六星): 26级"<<endl;
     cout<<" 高级富豪(七星): 27级"<<endl;
     cout<<"+++++++++++++++++++++++"<<endl; 
     cout<<" 超级富豪(一星): 28级"<<endl;
     cout<<" 超级富豪(二星): 29级"<<endl;
     cout<<" 超级富豪(三星): 30级"<<endl;
     cout<<" 超级富豪(四星): 31级"<<endl;
     cout<<" 超级富豪(五星): 32级"<<endl;
     cout<<" 超级富豪(六星): 33级"<<endl;
     cout<<" 超级富豪(七星): 34级"<<endl;
     cout<<" 超级富豪(八星): 35级"<<endl;
     cout<<"======================="<<endl;
     cout<<" 终级富豪(一星): 36级"<<endl;
     cout<<" 终级富豪(二星): 37级"<<endl;
     cout<<" 终级富豪(三星): 38级"<<endl;
     cout<<" 终级富豪(四星): 39级"<<endl;
     cout<<" 终级富豪(五星): 40级"<<endl;
     cout<<"$$$$$$$$$$$$$$$$$$$$$$$"<<endl;
     cout<<" "<<chsuju[31]<<"         45级"<<endl;
     cout<<" "<<chsuju[32]<<"             50级"<<endl; 
     cout<<endl<<endl; 
     //判断称号 
     if(dj<10){
         cout<<"            ======"<<endl;
         cout<<"您现在是:  ="<<chsuju[0]<<"="<<endl;
         cout<<"            ======"<<endl;
     }else if(dj<=40){
         cout<<"            ================"<<endl;
         cout<<"您现在是:  ="<<chsuju[dj-9]<<"="<<endl;
         cout<<"            ================"<<endl;
     }else if(dj>=45&&dj<=50){
         cout<<"            ============"<<endl;
         cout<<"您现在是:  ="<<chsuju[32]<<"="<<endl;
         cout<<"            ============"<<endl;
     }else if(dj>=50){
         cout<<"            ======"<<endl;
         cout<<"您现在是:  ="<<chsuju[33]<<"="<<endl;
         cout<<"            ======"<<endl;
     }
     if(dj==37){
         Sleep(500); 
         cout<<"下一级有彩蛋!!!"<<endl;
     }
     if(dj==38){
         Sleep(500);
         cout<<"彩蛋马上开始!!!" <<endl;
         Sleep(1000); 
         system("start https://www.bilibili.com/video/BV1gc411W7ei/?spm_id_from=trigger_reload&vd_source=22158b889b5360491372ab2771a35e80");
         Sleep(10000);
         cout<<"下一级还有彩蛋哦!!!"<<endl; 
     }
     if(dj==39){
         Sleep(500);
         cout<<"彩蛋马上开始!!!" <<endl;
         Sleep(1000);
         system("start https://www.bilibili.com/video/BV1Kv4y1p7n3/?spm_id_from=333.788.recommend_more_video.2&vd_source=22158b889b5360491372ab2771a35e80");
     }
     if(dj==40){
         cout<<"您富可敌国!!!"<<endl;
         cout<<"祝贺你"<<endl;
         cout<<"     ***     ***"<<endl;
         cout<<"    *****   *****"<<endl;
         cout<<"   ******* *******"<<endl;
         cout<<"  *****************"<<endl;
         cout<<"  *****************"<<endl;
         cout<<"   ***************"<<endl;
         cout<<"    *************"<<endl;
         cout<<"     ***********"<<endl;
         cout<<"      *********"<<endl;
         cout<<"       *******"<<endl;
         cout<<"        *****"<<endl;
         cout<<"         ***"<<endl;
         system("start https://www.bilibili.com/video/BV1hs4y197wU/?spm_id_from=autoNext&vd_source=22158b889b5360491372ab2771a35e80");
         cout<<"小提示:"<<endl;
         cout<<"40级以上时打开排行榜"<<endl;
         cout<<"又可触发彩蛋!!!"<<endl;
         cout<<"快去试试吧!" <<endl;
     }
     if(dj>=45){
         if(chsuju[31]=="????"){
             system("cls");
             chsuju[31]="究级富豪";
             string abc[6]={"","????","究???","究级??","究级富?","究级富豪"}; 
             cout<<"????";Sleep(800);cout<<"-";Sleep(1000);cout<<">";Sleep(1200);
             system("cls"); 
             for(int i=1;i<=5;i++){
                 cout<<"????";cout<<"-";cout<<">";
                 cout<<abc[i];
                 Sleep(800);
                 system("cls");
             }
             Sleep(500);
             cout<<"你已触发彩蛋"<<endl;
             Sleep(500);
             cout<<"观看视频"<<endl; 
             Sleep(1000);
             system("start https://www.bilibili.com/video/BV1ST411h73B/?spm_id_from=333.337.search-card.all.click");
             goto to;
         }
         if(chsuju[32]=="??"){
             system("cls");
             chsuju[32]="神豪"; 
             string abc[4]={"","??","神?","神豪"}; 
             cout<<"??";Sleep(800);cout<<"-";Sleep(1000);cout<<">";Sleep(1200);
             system("cls"); 
             for(int i=1;i<=3;i++){
                 cout<<"??";cout<<"-";cout<<">";
                 cout<<abc[i];
                 Sleep(800);
                 system("cls");
             }
             Sleep(500);
             cout<<"恭喜你!获得最强称号!点个关注吧!作者:爱学c++"<<endl;
             system("start https://blog.csdn.net/C5408C?type=blog");
             goto to;
         } 
     }
     cout<<"按n退出:";
     while(1){
         if (-32767 == GetAsyncKeyState('N')){
             return ;
         }
     }
 }
  
  
  
   
  
  
  
 void maiche(int k){
     int shuliang;
     if(che_money[k]>money){
         cout<<"钱不够,还差"<<che_money[k]-money<<"元"<<endl;
         Sleep(800);
         return ;
     } 
     cout<<"要1辆按1 要10辆按2 要100辆按3 要1000辆按4 要一万辆按5 要十万辆按6 要一百万辆按7"<<endl;
     while(1){
         if (-32767 == GetAsyncKeyState('1')){
             shuliang=1;
             break;
         }
         if (-32767 == GetAsyncKeyState('2')){
             shuliang=10;
             break;
         }
         if (-32767 == GetAsyncKeyState('3')){
             shuliang=100;
             break;
         }
         if (-32767 == GetAsyncKeyState('4')){
             shuliang=1000;
             break;
         }
         if (-32767 == GetAsyncKeyState('5')){
             shuliang=10000;
             break;
         }
         if (-32767 == GetAsyncKeyState('6')){
             shuliang=100000;
             break;
         }
         if (-32767 == GetAsyncKeyState('7')){
             shuliang=1000000;
             break;
         }
     }
     if(((unsigned long long)shuliang*(unsigned long long)che_money)>money){
         cout<<"钱不够,还差"<< (unsigned long long)shuliang*(unsigned long long)che_money-money<<"元"<<endl;
         Sleep(800);
         return ; 
     }
     system("cls");
     money=money-che_money[k]*shuliang;
     x=x+chemsheng[k]*shuliang;
     mc[k]+=shuliang;
     cout<<"恭喜获得"<<shuliang<<checi[k]<<cheming[k]<<"!!!"<<endl; 
     cout<<"按n退出 按m继续买";
     while(1){
         if (-32767 == GetAsyncKeyState('N')){
             return ;
         }
         if (-32767 == GetAsyncKeyState('M')){
             maiche(k); 
             return ; 
         }
     }
 }
  
  //标题输出 
 void biaoti(){
     for(int i=1;i<=21;i++){
         cout<<"=";
         Sleep(100);
     }
     cout<<endl;
     cout<<"=";
     Sleep(100);
     cout<<"  一千万亿很简单   ";
     Sleep(100);
     cout<<"="; 
     cout<<endl<<"=";
     for(int i=1;i<=6;i++){
         cout<<" ";
     }
     cout<<"(2.0.1)"; 
     cout<<"      =";
     cout<<endl;
     Sleep(100);
     for(int i=1;i<=21;i++){
         cout<<"=";
         Sleep(100);
     }
     cout<<endl;
     Sleep(100);
     cout<<"=";Sleep(200);
     cout<<"备";Sleep(200);
     cout<<"注";Sleep(200);
     cout<<":";Sleep(400);
     cout<<"(";Sleep(200);
     cout<<"可";Sleep(200);
     cout<<"能";Sleep(200);
     cout<<"吧";Sleep(200);
     cout<<"~";Sleep(200);
     cout<<"~";Sleep(200);
     cout<<"~";Sleep(200);
     cout<<")";Sleep(200);
     cout<<"="<<endl;
     Sleep(600);
     cout<<"=";Sleep(200);
     cout<<"  (";Sleep(200);
     cout<<"-";Sleep(200);
     cout<<"_";Sleep(200);
     cout<<"-";Sleep(200);
     cout<<"'";Sleep(200);
     cout<<")";Sleep(200);
     cout<<"           ="<<endl;
     Sleep(250);
     for(int i=1;i<=21;i++){
         cout<<"=";
         Sleep(100);
     }
     cout<<endl; 
     Sleep(800);
     cout<<"按n开始游戏"<<endl; 
     while(1){
         if (-32767 == GetAsyncKeyState('N')){
             break;
         }
     }
 }
 
  
 int main(){
     hide();
     /*
     MessageBox(0, TEXT("如果你是刚玩这个游戏,请新建一个名为 data2 的文本文档"), TEXT("注意"), MB_OK);
     if (MessageBox(0, TEXT("为了游戏的体验感优良,请不要更改data2文本文档"), TEXT("特别重要提示"), MB_OKCANCEL | MB_ICONINFORMATION) != IDOK){
         MessageBox(0, TEXT("既然你不同意,那就别玩了"), TEXT("你个**"), MB_OK);
         SetFileAttributes("data2.txt",FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN); 
         return 0;
     }
     */
     hide();
     biaoti();
     hide();
     //登录或创建账号 
     //key_3();
     hide();
     system("cls");
     //daoru();
     //Sleep(1000);
     //主代码
     while(1){
         hide();
         system("cls");
         cout<<"赚钱 按1(赚钱速度为"<<Speed<<")"<<endl;
         cout<<"$:"<<money<<"    级别:"<<dj<<"    经验:"<<g<<endl;
         cout<<"================="<<endl;
         cout<<"=升级--------按2="<<endl;
         cout<<"=称号--------按3="<<endl;
         cout<<"=买车,买房---按4="<<endl;
         cout<<"=挂机--------按5="<<endl;
         cout<<"=攻略--------按6="<<endl;
         cout<<"=成就--------按7="<<endl;
         cout<<"=皮肤--------按8="<<endl; 
         cout<<"=保存--------按9="<<endl; 
         cout<<"================="<<endl;
         if(guaji>0){
             guaji_1();
             if(guaji==2&&so==5000) guaji_2();
         }
         for(unsigned long long i=1;i!=so;i++){
             if (-32767 == GetAsyncKeyState('1')){
                 X++; 
                 money=money+Speed;
                 if(X%X_Speed==0&&X!=0){
                     g=g+1;
                     Speed+=Speed*0.05;
                 }
                 break;
             }
             if (-32767 == GetAsyncKeyState('2')){
                 unsigned long long Speed1=0;
                 while(1){
                     system("cls");
                     cout<<"=========升级========="<<endl;
                     cout<<"=退出             按1="<<endl; 
                     cout<<"=升级赚钱速度     按2="<<endl;
                     cout<<"=升级加经验速度   按3="<<endl;
                     cout<<"=升级挂机         按4="<<endl; 
                     cout<<"======================"<<endl; 
                     while(1){
                         if (-32767 == GetAsyncKeyState('2')){
                             if(Speed<8) Speed1=Speed+2;
                             else{
                                 Speed1=Speed+Speed*0.15;
                             } 
                             cout<<"赚钱速度:"<<Speed<<"->"<<Speed1<<endl;
                             cout<<"等级:"<<dj<<"->"<<dj+1<<endl;
                             cout<<"要"<<f<<"元"<<endl;
                             cout<<"确定升级吗?(y/n)"<<endl; 
                             while(1){
                                 if (-32767 == GetAsyncKeyState('Y')){
                                     if(money<f){
                                         system("cls");
                                         cout<<"钱不够,还差"<<f-money<<"元"<<endl;
                                         Sleep(800);
                                         break;
                                     }else{
                                         dj=dj+1;
                                         if(Speed<8) Speed=Speed+2;
                                         else{
                                             Speed+=Speed*0.15;
                                         } 
                                         money=money-f;
                                         f+=f*0.45;//f+=f/100*65;
                                         f+=f*0.15;//f+=f/100*65;
                                         cout<<"已升级"<<endl;
                                         Sleep(500);
                                         break;
                                     }
                                 } 
                                 if (-32767 == GetAsyncKeyState('N')){
                                     break;
                                 }
                             }
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('3')){
                             if(g_dj==6){
                                 cout<<"加经验所需的赚钱次数:"<<X_Speed<<endl;
                                 cout<<"经验等级:"<<g_dj<<endl;
                                 cout<<"已满级"<<endl;
                                 Sleep(1000);
                                 break;
                             } 
                             cout<<"加经验所需的赚钱次数:"<<X_Speed<<"->"<<X_Speed-5<<endl;
                             cout<<"经验等级:"<<g_dj<<"->"<<g_dj+1<<endl;
                             cout<<"要"<<X_money<<"元"<<endl;
                             cout<<"确定升级吗?(y/n)"<<endl; 
                             while(1){
                                 if (-32767 == GetAsyncKeyState('Y')){
                                     if(money<X_money){
                                         system("cls");
                                         cout<<"钱不够,还差"<<X_money-money<<"元"<<endl;
                                         Sleep(800);
                                         break;
                                     }else{
                                         g_dj=g_dj+1;
                                         money=money-X_money;
                                         X_Speed=X_Speed-5;
                                         X_money*=3;
                                         cout<<"已升级"<<endl;
                                         Sleep(500); 
                                         break;
                                     }
                                 } 
                                 if (-32767 == GetAsyncKeyState('N')){
                                     break;
                                 }
                             }
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('4')){
                             if(guaji==2){
                                 cout<<"已满级"<<endl;
                                 Sleep(800);
                                 break;
                             }
                             if(dj<15){
                                 cout<<"等级不够,还差"<<15-dj<<"级"<<endl;
                                 Sleep(800);
                                 break;
                             }else if(dj>=15&&dj<25&&guaji==1){
                                 cout<<"等级不够,还差"<<25-dj<<"级"<<endl;
                                 Sleep(800);
                                 break;
                             }
                             if(guaji==0){
                                 cout<<"可升级为自动赚钱"<<endl; 
                                 cout<<"要1000000元"<<endl;
                                 cout<<"确定升级吗?(y/n)"<<endl; 
                             }
                             if(guaji==1){
                                 cout<<"可升级为自动赚钱加自动升级"<<endl; 
                                 cout<<"要100000000元"<<endl;
                                 cout<<"确定升级吗?(y/n)"<<endl;
                             }
                             while(1){
                                 if (-32767 == GetAsyncKeyState('Y')){
                                     if(money<guaji_yao[guaji]){
                                         system("cls");
                                         cout<<"钱不够,还差"<<guaji_yao[guaji]-money<<"元"<<endl;
                                         Sleep(800);
                                         break;
                                     }else{
                                         so=5000;
                                         guaji++;
                                         money=money-guaji_yao[guaji];
                                         cout<<"已升级"<<endl;
                                         Sleep(500);
                                         break;
                                     }
                                     if(guaji==2)MessageBox(0, TEXT("按c可存钱,再按c可继续自动升级"), TEXT("注意"), MB_OK);
                                 } 
                                 if (-32767 == GetAsyncKeyState('N')){
                                     break;
                                 }
                             }
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('1')){
                             goto go;
                         }
                     }
                 }
                 go: break;
             }
             if (-32767 == GetAsyncKeyState('3')){
                 paiming();
                 system("cls");
                 break;
             }
             if (-32767 == GetAsyncKeyState('4')){
                 while(1){
                     int c=0,k=0;
                     system("cls");
                     cout<<"买车:1    买房(未完成):2    退出:3    $:"<<money<<"    名声:"<<x<<"    仓库:4"<<endl;
                     while(1){
                         if (-32767 == GetAsyncKeyState('1')){
                             while(1){
                                 system("cls");
                                 cout<<"=========================买车========================"<<endl;
                                 cout<<"==1000$         自行车       (名声+1)        按1  =="<<endl;
                                 cout<<"==5000$         小电驴       (名声+6)        按2  =="<<endl;
                                 cout<<"==7000$         二手摩托车   (名声+10)       按3  =="<<endl;
                                 cout<<"==10000$        小摩托车     (名声+60)       按4  =="<<endl;
                                 cout<<"==20000$        电动摩托车   (名声+130)      按5  =="<<endl;
                                 cout<<"==100000$       汽油摩托车   (名声+2630)     按6  =="<<endl;
                                 cout<<"==3000000$      二手汽车     (名声+3950)     按7  =="<<endl;
                                 cout<<"==10000000$     小汽车       (名声+13160)    按8  =="<<endl;
                                 cout<<"==50000000$     新能源汽车   (名声+65810)    按9  =="<<endl;
                                 cout<<"==200000000$    汽油汽车     (名声+263270)   按a  =="<<endl;
                                 cout<<"==1000000000$   私人飞机     (名声+1316350)  按b  =="<<endl;
                                 cout<<"==5000000000$   大型私人飞机 (名声+6581700)  按c  =="<<endl;
                                 cout<<"==20000000000$  火箭         (名声+30000000) 按d  =="<<endl; 
                                 cout<<"==退出  按e                                       =="<<endl;
                                 cout<<"===================================================="<<endl;
                                 cout<<"名声:"<<x<<endl;
                                 cout<<"$:"<<money<<endl;
                                 while(1){
                                     if (-32767 == GetAsyncKeyState('1')){
                                         maiche(1);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('2')){
                                         maiche(2);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('3')){
                                         maiche(3);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('4')){
                                         maiche(4);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('5')){
                                         maiche(5);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('6')){
                                         maiche(6);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('7')){
                                         maiche(7);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('8')){
                                         maiche(8);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('9')){
                                         maiche(9);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('A')){
                                         maiche(10);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('B')){
                                         maiche(11);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('C')){
                                         maiche(12);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('D')){
                                         maiche(13);
                                         break;
                                     }
                                     if (-32767 == GetAsyncKeyState('E')){
                                         goto go1;
                                     }
                                 }
                                 system("cls");
                             }
                             
                         }
                         if (-32767 == GetAsyncKeyState('2')){
                             system("cls");
                             cout<<"========================================="<<endl;
                             cout<<"==5000$    合租小房子  (名声+2)     按1=="<<endl;
                             cout<<"==36000$   合租大房子  (名声+6)     按2=="<<endl;
                             cout<<"==100000$          (名声+2)     按3=="<<endl;
                              
                             cout<<"========================================="<<endl;
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('3')){
                             goto go1;
                         }
                         if (-32767 == GetAsyncKeyState('4')){
                             system("cls");
                             for(int i=1;i<=13;i++){
                                 cout<<"您的"<<cheming[i]<<"有"<<mc[i]<<checi[i]<<endl; 
                             }
                             Sleep(500);
                             cout<<"按n退出"<<endl; 
                             while(1){
                                 if (-32767 == GetAsyncKeyState('N')){
                                     break;
                                 }
                             }
                             break;
                         }
                     }
                 }
                 go1: ;
                 system("cls");
                 break;
             }
             if (-32767 == GetAsyncKeyState('5')){
                 if(guaji>0){
                     cout<<"无效操作"<<endl;
                     Sleep(800);
                     break; 
                 }
                 long long guaji=0;//金钱 
                 int gjsj=0;//时间 
                 int as=-1;
                 Sleep(200);
                 MessageBox(NULL, "挂机中按n退出", "注意", MB_OK);
                 MessageBox(NULL, "最多挂机100分钟,每秒获得一次金钱。", "注意", MB_OK);
                 while(1){
                     system("cls");
                     cout<<"退出按1,挂机按2"<<endl;
                     while(1){
                         if (-32767 == GetAsyncKeyState('1')){
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('2')){
                             system("cls");
                             cout<<"开始挂机"<<endl;
                             Sleep(500);
                             system("cls");
                             for(int i=0;i<=6000;i++){
                                 cout<<"已挂机"<<i<<"秒"<<endl;
                                 for(int j=1;j<=90;j++){
                                     if (-32767 == GetAsyncKeyState('N')){
                                         as=0;
                                         break;
                                     }
                                     Sleep(1);
                                 }
                                 gjsj++;
                                 if(as==0) break;
                                 X++;
                                 if(X%50==0){
                                     g=g+1;
                                     Speed+=Speed/8;
                                 }
                                 system("cls");
                             }
                             money+=(Speed*gjsj);
                             cout<<"已挂机完毕,您获得了"<<Speed*gjsj<<"元"<<endl;
                             MessageBox(NULL, "已挂机完毕", "提示", MB_OK);
                             break;
                         }
                     }
                     break;
                 }
                 break;
             }
             if (-32767 == GetAsyncKeyState('6')){
                 system("cls");
                 MessageBox(NULL, "想快点赚钱就快点升级(手动赚钱最快哦!!!)", "攻略", MB_OK);
                 MessageBox(NULL, "经验也可以增加赚钱速度!", "攻略", MB_OK);
                 MessageBox(NULL, "记得看称号(到了终级富豪以上有惊喜!!!)", "攻略", MB_OK);
                 MessageBox(NULL, "没时间玩的话试试挂机,但最多挂机100分钟,挂机也可以加经验哟!", "攻略", MB_OK);
                 MessageBox(NULL, "买车买房中可以获得成就哦!", "攻略", MB_OK);
                 MessageBox(NULL, "完成任务可以获得成就哦!", "攻略", MB_OK);
                 MessageBox(NULL, "好吧,就这样吧,攻略结束^_^", "攻略", MB_OK);
                 break;
             }
             if(-32767 == GetAsyncKeyState('7')){
                 system("cls");
                 for(int i=1;i<=5;i++){
                     if(mc[i]>=ccj_yao[i]&&ccj[i]=="未获得"){
                         cout<<"恭喜获得成就:"<<ccj_ming[i]<<"!!!(买车成就)"<<endl;
                         ccj[i]="已获得";
                         Sleep(500); 
                     } 
                 }
                 for(int i=1;i<=4;i++){
                     if(zxcj[i]=="未获得"&&money>=zxcj_yao[i]){
                         cout<<"恭喜获得成就:"<<zxcj_ming[i]<<"!!!(主线成就)"<<endl;
                         zxcj[i]="已获得";
                         Sleep(500); 
                     }
                 }
                 for(int i=5;i<=7;i++){
                     if(zxcj[i]=="未获得"&&x>=zxcj_yao[i]){
                         cout<<"恭喜获得成就:"<<zxcj_ming[i]<<"!!!(主线成就)"<<endl; 
                         zxcj[i]="已获得";
                         Sleep(500); 
                     }
                 }
                 for(int i=8;i<=10;i++){
                     if(zxcj[i]=="未获得"&&g>=zxcj_yao[i]){
                         cout<<"恭喜获得成就:"<<zxcj_ming[i]<<"!!!(主线成就)"<<endl;
                         zxcj[i]="已获得";
                         Sleep(500);  
                     }
                 }
                 cout<<"=======================买车成就======================="<<endl;
                 cout<<"=1.好多自行车          (拥有自行车10000辆)     "<<ccj[1]<<"="<<endl;
                 cout<<"=2.小电驴大亨          (拥有小电驴10000辆)     "<<ccj[2]<<"="<<endl;
                 cout<<"=3.谁没二手摩托车?    (拥有二手摩托车10000辆) "<<ccj[3]<<"="<<endl;
                 cout<<"=4.骑上我心爱的小摩托  (拥有小摩托车10000辆)   "<<ccj[4]<<"="<<endl;
                 cout<<"=5.坐上我心爱的小汽车  (拥有小汽车10000辆)     "<<ccj[5]<<"="<<endl;
                 cout<<"=======================主线成就======================="<<endl;
                 cout<<"=1. 第一桶金           (赚钱速度>=50元)        "<<zxcj[1]<<"="<<endl;
                 cout<<"=2. 第二桶金           (赚钱速度>=520元)       "<<zxcj[2]<<"="<<endl;
                 cout<<"=3. 第三桶金           (赚钱速度>=54088元)     "<<zxcj[3]<<"="<<endl;
                 cout<<"=4. 第四桶金           (赚钱速度>=114514元)    "<<zxcj[4]<<"="<<endl; 
                 cout<<"=5. 名声大大嘀         (获得99999名声)         "<<zxcj[5]<<"="<<endl;
                 cout<<"=6. 名声多多嘀         (获得999999名声)        "<<zxcj[6]<<"="<<endl;
                 cout<<"=7. 车太多了           (获得99999999名声)      "<<zxcj[7]<<"="<<endl;
                 cout<<"=8. 经验小达人         (获得50经验)            "<<zxcj[8]<<"="<<endl;
                 cout<<"=9. 经验达人           (获得250经验)           "<<zxcj[9]<<"="<<endl;
                 cout<<"=10.经验大达人         (获得520经验)           "<<zxcj[10]<<"="<<endl;
                 cout<<"======================================================"<<endl; 
                 Sleep(500);
                 cout<<"按n退出"<<endl; 
                 while(1){
                     if (-32767 == GetAsyncKeyState('N')){
                         break;
                     }
                 }
                 break;
             }
             if (-32767 == GetAsyncKeyState('8')){
                 for(int i=0;i<=11;i++){
                     if(pifu_yao[i]<=dj) pifu[i]="已获得";
                 }
                 while(1){
                     system("cls");
                     cout<<"================皮肤==============="<<endl;
                     cout<<"=白色    (免费)       按1         ="<<endl;
                     cout<<"=蓝色    (等级要为3)  按2 ("<<pifu[0]<<")="<<endl;
                     cout<<"=绿色    (等级要为6)  按3 ("<<pifu[1]<<")="<<endl;
                     cout<<"=红色    (等级要为9)  按4 ("<<pifu[2]<<")="<<endl;
                     cout<<"=紫色    (等级要为12) 按5 ("<<pifu[3]<<")="<<endl;
                     cout<<"=灰色    (等级要为15) 按6 ("<<pifu[4]<<")="<<endl;
                     cout<<"=淡蓝色  (等级要为18) 按7 ("<<pifu[5]<<")="<<endl;
                     cout<<"=淡绿色  (等级要为21) 按8 ("<<pifu[6]<<")="<<endl;
                     cout<<"=淡红色  (等级要为24) 按9 ("<<pifu[7]<<")="<<endl;
                     cout<<"=淡紫色  (等级要为27) 按a ("<<pifu[8]<<")="<<endl;
                     cout<<"=淡白色  (等级要为30) 按b ("<<pifu[9]<<")="<<endl;
                     cout<<"=淡黄色  (等级要为33) 按c ("<<pifu[10]<<")="<<endl;
                     cout<<"=黄色    (等级要为36) 按d ("<<pifu[11]<<")="<<endl;
                     cout<<"=退出                 按e         ="<<endl;
                     cout<<"==================================="<<endl;
                     while(1){
                         if (-32767 == GetAsyncKeyState('1')){
                             system("color 7");
                             cout<<"已设置为 白色"<<endl;
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('2')){
                             if(dj>=3){
                                 system("color 1");
                                 cout<<"已设置为 蓝色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<3-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('3')){
                             if(dj>=6){
                                 system("color 2");
                                 cout<<"已设置为 绿色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<6-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('4')){
                             if(dj>=9){
                                 system("color 4");
                                 cout<<"已设置为 红色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<9-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('5')){
                             if(dj>=12){
                                 system("color 5");
                                 cout<<"已设置为 紫色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<12-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('6')){
                             if(dj>=15){
                                 system("color 8");
                                 cout<<"已设置为 灰色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<15-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('7')){
                             if(dj>=18){
                                 system("color 9");
                                 cout<<"已设置为 淡蓝色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<18-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('8')){
                             if(dj>=21){
                                 system("color 3");
                                 cout<<"已设置为 浅绿色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<21-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('9')){
                             if(dj>=24){
                                 system("color C");
                                 cout<<"已设置为 淡红色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<24-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('A')){
                             if(dj>=27){
                                 system("color D");
                                 cout<<"已设置为 淡紫色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<27-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('B')){
                             if(dj>=30){
                                 system("color F");
                                 cout<<"已设置为 淡白色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<30-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('C')){
                             if(dj>=33){
                                 system("color E");
                                 cout<<"已设置为 淡黄色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<33-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('D')){
                             if(dj>=36){
                                 system("color 6");
                                 cout<<"已设置为 黄色"<<endl;
                             }else{
                                 system("cls"); 
                                 cout<<"需再升"<<36-dj<<"级才可获得"<<endl;
                             } 
                             Sleep(800);
                             break;
                         }
                         if (-32767 == GetAsyncKeyState('E')){
                             goto t;
                         }
                     }
                 }
                 t: break;
             }
             if (-32767 == GetAsyncKeyState('9')){
                 system("cls");
                 cout<<"请复制以下数据到一个文本文档:"<<endl;
                 printf("%llu %llu %llu %llu %llu %llu %llu\n",money,Speed,f,x,X,X_money,X_Speed);
                 //cout<<money<<" "<<Speed<<" "<<f<<" "<<x<<" "<<X<<" "<<X_money<<" "<<X_Speed<<endl;
                 for(int i=0;i<=30;i++){
                     printf("%d ",mc[i]);
                     //cout<<mc[i]<<" ";
                 }
                 cout<<endl;
                 for(int i=0;i<=21;i++){
                     //printf("%s ",ccj[i]);
                     cout<<ccj[i]<<" ";
                     if(i==10) cout<<endl;
                 }
                 cout<<endl;
                 for(int i=0;i<=21;i++){
                     //printf("%s ",zxcj[i]);
                     cout<<zxcj[i]<<" ";
                     if(i==10) cout<<endl;
                 }
                 cout<<endl;
                 for(int i=0;i<=11;i++){
                     //printf("%s ",pifu[i]);
                     cout<<pifu[i]<<" ";
                 }
                 printf("%d %d %d\n",dj,g,g_dj);
                 //cout<<endl<<dj<<" "<<g<<" "<<g_dj<<endl;
                 cout<<"按n退出:";
                 while(1){
                     if (-32767 == GetAsyncKeyState('N')){
                         break;
                     }
                 }
                 break; 
             }
             if (-32767 == GetAsyncKeyState('C')){
                 if(so==5000) so=4999;
                 if(so==4999) so=5000;
             }
             
         }
         system("cls");
     }
     return 0;
 }