摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 /*此处是顺序线性表数据结构定义*/ 5 typedef int DataType; 6 struct seqList 7 {//有3个数据成员 8 int MAXNUM;//用于记录顺序线性表中能存放的最 阅读全文
posted @ 2020-10-16 12:48 ethon-wang 阅读(1071) 评论(0) 推荐(1) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 /*此处是链栈数据结构定义*/ 5 typedef int DataType; 6 struct node 7 { 8 DataType info; 9 struct node *link; 10 }; 1 阅读全文
posted @ 2020-10-16 12:46 ethon-wang 阅读(500) 评论(0) 推荐(0) 编辑
摘要: http://www.520xiazai.com/soft/CLion-2020.html 阅读全文
posted @ 2020-10-14 21:51 ethon-wang 阅读(326) 评论(2) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 3 /*此处是顺序栈数据结构定义*/ 4 typedef int DataType; 5 struct seqStack 6 {//有3个数据成员 7 int MAXNUM;//用于记录顺序栈中能存放的最大元素个数的 整型 MAXNUM 8 int to 阅读全文
posted @ 2020-10-14 20:58 ethon-wang 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 using namespace std; 3 4 typedef char DataType; 5 6 //二叉树数据结构 7 struct node 8 { 9 DataType info ; //存放结点数据 10 struct node *lch 阅读全文
posted @ 2020-10-14 20:57 ethon-wang 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdbool.h> 3 #include <stdlib.h> 4 5 #define MAXSIZE 10000 6 typedef struct{ 7 char data[MAXSIZE]; 8 int top; 9 10 }S 阅读全文
posted @ 2020-10-11 14:09 ethon-wang 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 typedef int DataType; 4 struct seqStack 5 {//有3个数据成员 6 int MAXNUM;//用于记录顺序栈中能存放的最大元素个数的 整型 MAXNUM 7 int t 阅读全文
posted @ 2020-10-11 12:53 ethon-wang 阅读(248) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> typedef int DataType; struct node{ DataType data; struct node *next; }; typedef struct node* PNode; PNode creat 阅读全文
posted @ 2020-10-10 21:06 ethon-wang 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define maxn 100000 5 6 typedef struct { 7 int data; 8 struct node*pri,*next; 9 }node 阅读全文
posted @ 2020-09-24 21:39 ethon-wang 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 链接:https://pan.baidu.com/s/1Sd4-JFDjYYOcHLi06qCSFw 提取码:dl37 阅读全文
posted @ 2020-07-22 11:07 ethon-wang 阅读(172) 评论(0) 推荐(0) 编辑