C语言数据结构实现图的遍历.docx
PAGE PAGE #/ 2 #include #include #defineVerNum100/* 最大顶点数设为 100*/ typedef char VerType;/* 顶点类型设为字符型 */ typedef intEdType;/* 边的权值设为整型 */ typedef struct{VerType vexs[VerNum];/* 顶点表*/
下载地址
用户评论