-
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
-
Fibonacci数列的c语言实现
Fibonacci数列的c语言实现-Fibonacci Sequence C Language
- 2022-11-27 15:00:03下载
- 积分:1
-
HUFFMAN树的构造算法,求最佳二元码并能借助二元码进行编码和解码。...
HUFFMAN树的构造算法,求最佳二元码并能借助二元码进行编码和解码。-Huffman Tree Construction Algorithm, and the best use of binary code and binary code encoding and decoding.
- 2022-01-25 22:30:51下载
- 积分:1
-
a teacher information management Visual Basic source
一个教师信息管理的Visual Basic源码-a teacher information management Visual Basic source
- 2022-02-04 01:34:23下载
- 积分:1
-
包括数据结构中最常用的6种排序算法和相关解释,适用与严蔚敏的c语言版。...
包括数据结构中最常用的6种排序算法和相关解释,适用与严蔚敏的c语言版。-including data structure of the six most common types of algorithm and the related interpretation, application and Yan Wei Min c language version.
- 2022-06-17 00:42:52下载
- 积分:1
-
new database system using php
new database system using php
- 2022-08-13 20:22:40下载
- 积分:1
-
asp access database develepment
asp access数据库开发实例,分后台和前台-asp access database develepment
- 2022-01-28 12:05:43下载
- 积分:1
-
跳过
skip-list
一种数据结构
一种图的表示方法-A skip-list data structure of a graph representation
- 2022-07-26 03:31:41下载
- 积分:1
-
分布式数据库系统 清华大学研究生课程讲义、课件等相关资料...
分布式数据库系统 清华大学研究生课程讲义、课件等相关资料-Distributed Database System, Tsinghua University graduate student lecture courses, courseware and other related information
- 2022-08-07 17:07:28下载
- 积分:1
-
Research and information management can realize the function of the system, have...
可实现科研信息管理系统的功能,有项目管理,教师管理,科研项目管理等多项内容-Research and information management can realize the function of the system, have project management, teacher management, research management, and so a number of content
- 2022-05-13 15:44:57下载
- 积分:1