![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 80
qq_34429167
这个作者很懒,什么都没留下…
展开
-
二叉树------从文件中读取进行层次遍历二叉树(链表)
#include #include #include char Value[100]={0};int count=0;typedef struct _BiNode{ struct _BiNode *L; char Data; struct _BiNode *R;}BiNode;typedef struct _QuNode{ BiNode * Data; struct原创 2016-04-29 16:39:05 · 793 阅读 · 0 评论 -
二叉树------从文件中读取进行层次遍历(顺序表)
#include#include #includechar Value[100];int count = 0;typedef struct _BiNode { struct _BiNode *L; char Data; struct _BiNode *R;}BiNode;typedef struct _Que{ BiNode * Base; int Front;原创 2016-04-29 16:43:34 · 1367 阅读 · 0 评论 -
从文件中读取 哈夫曼数的创建和编码
#include #include #include #define MaxSize 100int index = 0;char HuffCode[MaxSize]; typedef struct _HuffBTNode{ int flag; int f; int weight; struct _HuffBTNode *l,*r,*next;}HuffBTNode;t原创 2016-05-17 16:35:25 · 784 阅读 · 0 评论 -
图的邻接表遍历
#include #include #include #include #define QueueSize 30typedef struct _vexType{ int flag; int x,y; char name[12]; void *info;}VexType;typedef struct _arcType{ int index; int weight; st原创 2016-05-31 21:33:27 · 337 阅读 · 0 评论