数据结构入门
cx520forever
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
队列的基本操作
队列(有头结点) #include using namespace std; typedef struct node { int data; struct node *next; }node,*point; typedef struct { point front,rear; }listqueue; listqueue Q; bool empty(listqu原创 2013-05-07 23:53:37 · 654 阅读 · 0 评论 -
链表的基本操作
#include using namespace std; const int M=30; typedef struct node { char name[M]; int score; struct node *next; }node,*linklist; linklist L; linklist initlinklist(linklist &L)//初始化 {原创 2013-05-07 23:51:13 · 598 阅读 · 0 评论
分享