void mazePath(int *maze[],int *directon[],int x1,int y1,int x2,int y2){int i,j,k,g,h;PSeqStack pastack;pastack = createEmptyStack_seq(8*11);DataType s;maze[1][1]=2;}int main(){int maze[][11]={1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,0,0,1,1,0,0,0,0,0,1,0,0,1,1,1,0,1,1,1,0,0,0,1,1,1,1,0,0,0,1,0,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1};int direction[][2]={0,1,1,0,0,-1,-1,0};mazePath(maze,direction,1,1,6,9);return 0;}p|78|error: cannot convert 'int (*)[11]' to 'int**' for argument '1' to 'void mazePath(int**, int**, int, int, int, int)'|||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
- 1 回答
- 0 关注
- 892 浏览
添加回答
举报
0/150
提交
取消