-
c++链式队列的实现
c++链式队列的实现头文件如下:
typedef int Item;
typedef struct node * PNode;
typedef struct node
{
Item data;
PNode next;
}Node;
typedef struct
{
PNode front;
PNode rear;
int size;
}Queue;
/*构造一个空队列*/
Queue *InitQueue();
/*销毁一个队列*/
void DestroyQueue(Queue *pqueue);
/*清空一个队列*/
void ClearQueue(Queue *pqueue);
/*判断队列是否为空*/
int IsEmpty(Queue *pqueue);
/*返回队列大小*/
int GetSize(Queue *pqueue);
/*返回队头元素*/
PNode GetFront(Queue *pqueue,Item *pitem);
/*返回队尾元素*/
PNode GetRear(Queue *pqueue,Item *pitem);
/*将新元素入队*/
PNode EnQueue(Queue *pqueue,Item item);
/*队头元素出队*/
PNode DeQueue(Queue *pqueue,Item *pitem);
/*遍历队列并对各数据项调用visit函数*/
void QueueTraverse(Queue *pqueue,void (*visit)());
- 2023-09-04 20:50:03下载
- 积分:1
-
数据库远代码,比较好的java实现的,比较清晰好用
数据库远代码,比较好的java实现的,比较清晰好用-The database is far code, java to achieve a better, more clear and easy to use
- 2022-01-25 19:08:36下载
- 积分:1
-
E-store
CMU SSD7 EXE4答案.
实现要求全部功能
绝对满分-E-store CMU SSD7 EXE4 answer. All the functional requirements to achieve absolute perfect score
- 2022-07-09 08:24:37下载
- 积分:1
-
跳过
skip-list
一种数据结构
一种图的表示方法-A skip-list data structure of a graph representation
- 2022-07-26 03:31:41下载
- 积分:1
-
没什么特别的
用ASSECC数据库~――~
没什么特别的
用ASSECC数据库~――~-Nothing special with ASSECC database ~- ~
- 2023-02-03 00:00:04下载
- 积分:1
-
数据结构练习共18道。
数据结构练习共18道。-data structure to practice a total 18.
- 2022-02-16 03:06:05下载
- 积分:1
-
简介:一个用PHP编写的,可以通过互联网控制和操作MySQL,通过phpMyAdmin可以完全对数据库进行操作,例如建立、复制、删除、导出、导入数据等。
简介:一个用PHP编写的,可以通过互联网控制和操作MySQL,通过phpMyAdmin可以完全对数据库进行操作,例如建立、复制、删除、导出、导入数据等。 -Introduction: A prepared using PHP, you can control and operation via the Internet MySQL, can be completely through the phpMyAdmin database operations, such as the establishment, copy, delete, export, import data.
- 2023-01-12 05:10:04下载
- 积分:1
-
无限大整数类
用链表实现无限大整数的运算。
在进行大整数运算时可以拿它当函数,直接调用...
无限大整数类
用链表实现无限大整数的运算。
在进行大整数运算时可以拿它当函数,直接调用-Infinite integer Class List realize infinite integer arithmetic. In large integer operations can use it as a function of the direct call
- 2022-01-26 06:54:36下载
- 积分:1
-
数据结构JAVA版本的电子教案,共有10章。内容全面包括数据结构的基本内容。...
数据结构JAVA版本的电子教案,共有10章。内容全面包括数据结构的基本内容。-Data Structure JAVA version of the electronic lesson plans, a total of 10 chapters. Comprehensive and include the basic content of the data structure.
- 2022-05-06 05:39:48下载
- 积分:1
-
Kruskal算法寻找最小生成树,C语言实现,有完整的注释!
Kruskal算法寻找最小生成树,C语言实现,有完整的注释!-Kruskal finding minimum spanning tree algorithm, C Language, a complete Notes!
- 2022-07-23 02:10:48下载
- 积分:1