
数据结构
小白启程
这个作者很懒,什么都没留下…
展开
-
邻接表图,增加、删除、修改,功能齐全,有双权和有单权
刚刚考完,纪念一下,虽说不是考试提交的最终代码,但是是我提前准备的考试源码,供给考试使用。这个是双权的#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <string.h>#include <malloc.h>/** 有向带权图 */ // 弧的结点结构体定义typedef struct arcnode{ int adjvex;原创 2020-06-24 10:49:51 · 833 阅读 · 3 评论 -
邻接表图,增加、删除、修改功能全,还有一个双权的
刚刚考完,纪念一下,虽说不是考试提交的最终代码,但是是我提前准备的考试源码,供给考试使用。前面的是单权#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <string.h>#include <malloc.h>/** 有向带权图 */ // 弧的结点结构体定义typedef struct arcnode{ int adjvex; //原创 2020-06-24 10:44:31 · 740 阅读 · 0 评论