随笔分类 -  数据结构【C语言】

【数据结构——纯C语言实现】 本专栏文章指导思想:内容全而细! 目标:实现数据结构中,几乎所有数据对象的基本操作!
摘要:【TDTX】 【C99】 【编译与运行环境】64位Windows操作系统,TDM-gcc 4.9.2 64bit编译。 【输入样例】36.8+69-14.5*(25.7-(45.4/2))-3.9# 【注2】采用中缀表达式法,符合人的直觉。 【注2】采用float atof(const char* 阅读全文
posted @ 2022-01-04 11:15 TDTX 阅读(1051) 评论(0) 推荐(0) 编辑
摘要:【注1】实现了一个自动调整队列在队列空间分布的函数,解决普通数组的静态队列假溢出状态; 【注2】自动调整函数的被动触发:在入队函数调用时(遇到假溢出先调整再入队)、在出队函数调用时(遇到假溢出先调整再出队); 【注3】自动调整函数的主动执行:手动调用自动调整函数Status AutoMemory_Q 阅读全文
posted @ 2021-11-23 14:02 TDTX 阅读(133) 评论(0) 推荐(0) 编辑
摘要:LinkStackMalloc.h #define NOEXIST -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef int S 阅读全文
posted @ 2021-11-23 13:59 TDTX 阅读(135) 评论(0) 推荐(0) 编辑
摘要:SqStackStatic.h #define MAXSIZE 100 #define NOINIT -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLO 阅读全文
posted @ 2021-11-23 13:56 TDTX 阅读(176) 评论(0) 推荐(0) 编辑
摘要:SqStackMalloc.h #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define NOEXIST -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 # 阅读全文
posted @ 2021-11-23 13:52 TDTX 阅读(169) 评论(0) 推荐(0) 编辑
摘要:SingleLinkListMalloc.h #define NOEXIST -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef 阅读全文
posted @ 2021-11-23 13:36 TDTX 阅读(198) 评论(0) 推荐(0) 编辑
摘要:SingleLinkListStatic.h #define MAXSIZE 1000 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 #defin 阅读全文
posted @ 2021-11-23 13:32 TDTX 阅读(83) 评论(0) 推荐(0) 编辑
摘要:SqList.h #define ListSize 100 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef int Status; 阅读全文
posted @ 2021-11-23 13:27 TDTX 阅读(242) 评论(0) 推荐(0) 编辑
摘要:SqList.h #define ListSize 100 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef int Status; 阅读全文
posted @ 2021-11-23 13:25 TDTX 阅读(198) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示