版本比较
游戏盒子
正文
增加 4 行删除 4 行
2,145 行未改动全部展开214621472148214921502150215121522153215455 行未改动22102211221222132214221422152216221722184 行未改动2223222422252226222722272228222922302231222 行未改动全部展开2454245524562457245824582,145 行未改动全部展开 while (1) { //-------------------------------------------------------------------------------------------------------------- // 登录界面 while (1) { MessageBoxA(NULL, "您好,欢迎使用张跃航游戏盒,开发者QQ群号:2147483647。\n版权所有,侵权必究!\n敬告用户:非本群和Edge版代码,均侵权、盗版,Edge版代码,\n请确认作者是否为张跃航!!!", "提示", MB_OK | MB_ICONINFORMATION); MessageBoxA(NULL, "您好,欢迎使用张跃航游戏盒。", "欢迎使用", MB_OK | MB_ICONINFORMATION); cout << endl << endl << endl << endl << endl << endl << endl << endl << endl; cout << "\t\t\t\t\t +-------------------------+" << endl; cout << "\t\t\t\t\t | 您好,欢迎使用: |" << endl; cout << "\t\t\t\t\t | 1.登录 |" << endl;55 行未改动 system("color F0"); //设置背景色为白色,字体颜色为黑色 cout << "************************************************ 张跃航游戏盒 ******************************************************" << endl; cout << "\t\t\t\t\t\t " << endl; cout << " 玩家:" << peo[User].user << setw(15) << " 硬币:" << peo[User].coin << " 版本:2025" << "\n\n"; cout << " 开发者QQ群号:2147483647 使用系统:Windows\n\n"; cout << " 使用系统:Windows\n\n"; cout << " +------------------------------------------------------+" << endl; cout << " | 1.雷霆战机 |" << endl; cout << " | 2.愤怒吃豆人 |" << endl; cout << " | 3.快乐贪吃蛇 |" << endl;4 行未改动 cout << " | 12345.修改玩家信息 |" << endl; cout << " | 9.返回主界面 |" << endl; cout << " | 0.退出程序 |" << endl; cout << " +------------------------------------------------------+" << endl; cout << "请输入数字实现对应的功能:"; cout << "请输入数你要游玩的游戏编号:"; //-------------------------------------------------------------------------------------------------------------- //利用Check函数判断用户的输入是否正确(字符和字符串): double n = Check(0); cout << endl << endl;222 行未改动全部展开 } return 0;}```(注:本程序仅能在IDE环境下运行)注:本程序只能在IDE环境下运行