c++ 实现迷宫寻址
c++语言编写的迷宫程序,
用户自定义迷宫图,
用文件作为迷宫图,
利用栈操作实现迷宫寻址;
最后打印迷宫路线图;
typedefintstatus;
typedefstructpostype{
intx;
inty;
}postype;
typedefstructelem{
intord;
postypeseat;
intdi;
}elem;
typedefstructsqstack{
elem*base;
elem*top;
intstacksize;
}sqstack;
下载地址
用户评论