- 博客(3)
- 收藏
- 关注
原创 C语言之双链表
/*D_list.h头文件*/ #ifndef __D_LIST_H__ #define __D_LIST_H__ typedef int DataType; typedef struct node{ DataType data; struct node *next; struct node *prev; }D_node; typedef struct list{ D_node
2015-09-20 23:42:50
442
原创 C语言之基于链表队列
/* 内容:基于链表的队列 作者:Carre 日期:2015.9.18 */ #include #include #include //定义队列结点数据类型 typedef int DataType; //定义队列结点结构体 typedef struct node{ DataType data; struct node *next; }Q_node; //定义
2015-09-20 23:35:54
421
原创 C单链表 测试通过 路过大神指点
/* 内容:单链表结点类型定义、链表类型定义、创建链表、插入结点、删除节点、打印链表、链表长度、链表倒序等 作者:Carre_ 日期:2015.9.8 */ #include #include #include #define OK 1 #define ERROR 0 //定义结点数据域类型 typedef int Elemtype; //定义链表结点结构体
2015-09-19 21:56:49
464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人