字符框 遍历整个字符数组即可,注意范围 #include <cstring> #include <iostream> using namespace std; char map[100][100]; void print(int n, int m) { for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) cout << map[i][j] << " "; cout << endl; ...