图的建立与遍历(C++)

最近复习到了数据结构中的图这一章,随手整理了些图的建立与遍历的完整代码,以下所示:node #include using namespace std; #define maxSize 100 typedef struct { int no; //顶点编号 char info; //顶点其余信息 }VertexType; typedef struct { int edges[maxSi
相关文章
相关标签/搜索