- 博客(1)
- 收藏
- 关注
原创 C++移动小游戏
今天,我们来写基于C++的移动小游戏: 头文件: #include<bits/stdc++.h> using namespace std; int main(){ } 变量,数组定义: int x=1,y=1; char a[3][4]={'*','*','*','*', '*',' ',' ','*', '*','*','*','*',}; char yd; a[x][y]='@'; 移动判断与执行: while(1) { syste
2021-08-15 11:43:41
486
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人