C++鄰接矩陣構造無向圖和無向網

假設我們要創建一個無向圖的鄰接矩陣 #include<iostream> #define OK 1 #define ERROR 0 #define MaxNum 100 //最大頂點數 typedef char VexType; //頂點數據類型爲char型 typedef int VarType; //邊的數據類型爲int型 typedef int Status; using name
相關文章
相關標籤/搜索