随笔分类 -  数据结构

摘要:顺序栈 代码: #include <stdio.h> #include <stdlib.h> #include<malloc.h> typedef struct stack{ int *top; int *base; int size; }stack,*Pstack; init_stack(Psta 阅读全文
posted @ 2020-10-21 16:57 ch0bits 阅读(157) 评论(0) 推荐(0) 编辑
摘要:1.顺序表 手敲的代码: #include <stdio.h> #include <stdlib.h> typedef struct table{ int *pBase; int length; int cnt; }Student; //Student p1; init_arr(Student *p 阅读全文
posted @ 2020-10-17 13:25 ch0bits 阅读(204) 评论(0) 推荐(0) 编辑

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