![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言
记录学习过程
yijinhhh
这个作者很懒,什么都没留下…
展开
-
【数据结构】删除并返回顺序表中最小值
#include<iostream> #define Maxsize 50 using namespace std; typedef struct { int *data; int length; }SqList; bool ListInit(SqList &L){ L.data = new int[Maxsize]; if (!L.data) return false; L.length = 0; return true; } bool ListInsert原创 2020-06-09 19:30:50 · 336 阅读 · 1 评论 -
【数据结构】删除其值在给定值s与t之间的所有元素
#include<iostream> #include<stdlib.h> #include<stdio.h> #define Maxsize 50 using namespace std; typedef struct { int *data; int length; }SqList; bool ListInit(SqList &L){ L.data = new int[Maxsize]; if (!L.data) return false原创 2020-06-09 19:29:04 · 424 阅读 · 0 评论