摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 typedef int ElemType; 4 typedef struct LinkNode{ 5 ElemType data; 6 struct LinkNode *next; 7 }LinkNode; 8 阅读全文
posted @ 2020-03-21 15:09 wydxry 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define MaxSize 5 4 typedef int ElemType; 5 typedef struct{ 6 //数组,存储MaxSize-1个元素 7 ElemType data[MaxSize 阅读全文
posted @ 2020-03-21 15:03 wydxry 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 以栈的顺序存储结构为例: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define MaxSize 50 4 typedef int ElemType; 5 typedef struct{ 6 ElemType data[MaxSize];//数组 7 阅读全文
posted @ 2020-03-21 14:56 wydxry 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 typedef int ElemType; 4 typedef struct DNode{ 5 ElemType data; 6 struct DNode *prior,*next; 7 }DNode,*DLi 阅读全文
posted @ 2020-03-21 14:51 wydxry 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 typedef int ElemType; 4 typedef struct LNode{ 5 ElemType data; 6 struct LNode *next; 7 }LNode,*LinkList; 阅读全文
posted @ 2020-03-21 14:45 wydxry 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define MaxSize 50 4 typedef int ElemType; 5 //静态分配 6 typedef struct{ 7 ElemType data[MaxSize]; 8 int len 阅读全文
posted @ 2020-03-21 14:39 wydxry 阅读(355) 评论(0) 推荐(0) 编辑
Live2D