做了怎么多题该摸摸鱼了
void need(int a)
{
if(a==1) system("start %cd%/runtime/game/2048.exe");
if(a==2) system("start %cd%/runtime/game/超级迷宫.exe");
if(a==3) system("start %cd%/runtime/game/俄罗斯方块.exe");
if(a==4) system("start %cd%/runtime/game/恶魔轮盘赌.exe");
if(a==5) system("start %cd%/runtime/game/狼人杀.exe");
if(a==6) system("start %cd%/runtime/game/扫雷游戏.exe");
if(a==7) system("start %cd%/runtime/game/坦克游戏.exe");
if(a==8) system("start %cd%/runtime/game/小game.exe");
if(a==9) system("start %cd%/runtime/game/小鸟躲障碍.exe");
if(a==10) system("start %cd%/runtime/game/元气骑士.exe");
if(a==11) system("start %cd%/runtime/game/元气小胎.exe");
if(a==12) system("start %cd%/runtime/game/战斗机.exe");
if(a==13) system("start %cd%/runtime/tool/编码器.exe");
if(a==14) system("start %cd%/runtime/tool/鼠标瞬移.exe");
if(a==15) system("start %cd%/runtime/tool/页面催毁.exe");
if(a==16) system("start %cd%/runtime/tool/电脑关机.exe");
if(a==17) system("start %cd%/runtime/tool/电脑去世.exe");
if(a==18) system("start %cd%/runtime/tool/高精度计算器.exe");
if(a==19) system("start %cd%/runtime/tool/鸡兔同笼.exe");
if(a==20) system("start %cd%/runtime/tool/计时器.exe");
if(a==21) system("start %cd%/runtime/tool/迷宫助手.exe");
if(a==22) system("start %cd%/runtime/tool/秒杀极域.exe");
if(a==23) return;
}
文件放结尾了
对于%cd%可以看Bat 批处理脚本中 %cd% 与 %~dp0 区别-腾讯云开发者社区-腾讯云
对于这些.dll是C++自带的这里是用来执行程序
通过Deepseek、豆包、kimi...进行修改学习
下载(上次网站忘记放了)
1.0版
游戏第一代
密码:77fg
- 修复了3个已知bug
- 从安装包变成了自解压格式
- 删除了一个病毒
更新预告:
- 增加三款游戏
- 增加无敌模式
- 增加一些网页