![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构基本操作代码
沐司
这个作者很懒,什么都没留下…
展开
-
数据结构代码实践-2.1 顺序栈各功能实现+测试
#include<stdio.h>#include<stdlib.h>#define MaxSize 50#define Elemtype inttypedef struct { Elemtype data[MaxSize]; int top;}SqStack;//初始化栈void InitStack(SqStack &s){ s.top...原创 2018-10-16 22:54:25 · 315 阅读 · 0 评论 -
数据结构代码实现-4.0 邻接表的的生成、定义和输出打印
#include<stdio.h>#include<stdlib.h>#define MaxSize 100typedef int ElemType;typedef struct ArcNode{ int adjvex; int weight; struct ArcNode *next;}ArcNode;typedef struct VexNode...原创 2018-10-22 23:28:27 · 332 阅读 · 0 评论