图的操作

//图  #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; //邻接表类型定义
相关文章
相关标签/搜索