图的邻接表存储表示示例讲解
代码如下://———图的邻接表存储表示——- #include#include #define MAX_VERTEXT_NUM 20 typedef int InfoType;typedef char VertextType; typedef struct ArcNode{ int adjvex; struct ArcNode *nextArc; InfoType *info;}ArcNode; typedef struct VNode{ VertextType data; ArcNode *firstArc;}VNode,
下载地址
用户评论