06 2020 档案

摘要:1、typedef struct 和struct 的区别 struct Studen1 { int ID; char name; }stu1; typedef struct Student2 { int ID; char name; }stu2; Student1是结构体的名字,stu1是一个变量, 阅读全文
posted @ 2020-06-28 17:38 彭珊珊 阅读(160) 评论(0) 推荐(0)
摘要:邻接矩阵 #define MNNum 100//最大顶点数 typedef char VerTexTypre;//顶点的数据类型 typedef int ArcType;//顶点的权值类型 typedef struct { VerTexType vexs[MVNum];//顶点表 ArcType a 阅读全文
posted @ 2020-06-14 17:08 彭珊珊 阅读(286) 评论(0) 推荐(0)