问题描述:
在类中定义int **footprint 后 用 M->footprint[pos.x][pos.y]=1
函数为FootPrint(MazeType *M,PosType pos)
PostType 中包括
int x,int y,
MazeType的定义为
char **maze;
\x09\x09int **footprint;
\x09\x09int row;
\x09\x09int column;
函数为FootPrint(MazeType *M,PosType pos)
PostType 中包括
int x,int y,
MazeType的定义为
char **maze;
\x09\x09int **footprint;
\x09\x09int row;
\x09\x09int column;
问题解答:
我来补答展开全文阅读