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)) ===|
千万里不及你
相关分类