.定义一个二维数组 char **array1 array1 = new char *[x]; for(i=0;i<x;++i) array1[i] = new char[y]; ...用的时候可以直接array1[i][j] 注意delete for(i=0;i<x;++i) delete[] array1[i]; delete[] array1;