摘要:
顺序栈 顺序栈的存储结构定义: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define Stack_Size 20 4 typedef char StackElementType; 5 typedef struct { 6 StackElementT 阅读全文
posted @ 2020-10-03 20:59
笺笙
阅读(246)
评论(0)
推荐(0)
摘要:
线性表的链式存储 单链表存储结构的定义: 1 #include <stdio.h> 2 #include <stdlib.h> 3 typedef int ElemType; 4 typedef struct Node { /*结点类型定义*/ 5 ElemType data; 6 struct N 阅读全文
posted @ 2020-10-03 20:20
笺笙
阅读(159)
评论(0)
推荐(0)
摘要:
线性表的顺序存储: 线性表顺序存储结构的定义: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define MAXSIZE 100 4 typedef int ElemType; /*给int类型定义一个别名*/ 5 typedef struct { 6 阅读全文
posted @ 2020-10-03 20:15
笺笙
阅读(273)
评论(0)
推荐(0)

浙公网安备 33010602011771号