圖的操作

//圖  #include <stdio.h> #include <stdlib.h> #define MaxNum 100 typedef char Type; //鄰接矩陣類型定義 typedef struct  { Type vexs[MaxNum]; int edges[MaxNum][MaxNum]; int Vertex_num,edge_num; }MGraph; //鄰接表類型定義
相關文章
相關標籤/搜索