數據結構——用棧解決簡單迷宮問題

#include<stdio.h> #include<stdlib.h> using namespace std; typedef int ElemType; #define MaxSize 50 /*int mg[n1][n2] #define n1 50//定義行範圍 #define n2 50//定義列範圍 void array(int g,int h)    //以二維數組形式定義迷宮內容
相關文章
相關標籤/搜索