数据结构迷宫算法求解
/*****迷宫算法求解**************/
/**计目标:教学演示**************/
#include
#definerows10
#definecols10
typedefstruct
{introw;
intcol;
}PosType;/*//坐标点结构*/
typedefstruct
{intord;/*//通道块在路径上的“序号”*/
PosTypeseat;/*//通道块在迷宫中的“坐标位置”*/
intdi;/*//从此通道快走向下一通道块的“方向”*/
}SElemType;/*
下载地址
用户评论
有用,参考了下思想