-
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
-
宾馆管理信息系统
宾馆管理信息系统-Hotels Management Information System
- 2022-02-04 23:55:41下载
- 积分:1
-
MAPX开发基础程序,实现简单的地图控制操作
MAPX开发基础程序,实现简单的地图控制操作-MAPX the basis of procedures developed to achieve a simple map control operations
- 2022-05-18 18:19:01下载
- 积分:1
-
This program use for topological sorting
This program use for topological sorting
- 2022-07-11 19:14:24下载
- 积分:1
-
data structure, the topological sorting and topological sorting algorithm used t...
数据结构里的拓扑排序和非拓扑排序算法,用vc6.0编写-data structure, the topological sorting and topological sorting algorithm used to prepare vc6.0
- 2023-06-09 08:00:03下载
- 积分:1
-
shujuku
数据库654 521654321654132-shujuku
- 2022-06-02 16:32:26下载
- 积分:1
-
Area code conversion software, you can check area code of Chinese characters mai...
区位码转换软件,可以查询汉字的区位码,主要用于学生考试系统-Area code conversion software, you can check area code of Chinese characters mainly used for student examination system
- 2022-02-19 23:44:33下载
- 积分:1
-
数据结构1800例题与答案 我想对大学生很有用啊
数据结构1800例题与答案 我想对大学生很有用啊-data structure with 1,800 examples, I would like to answer students useful ah
- 2022-03-31 22:44:52下载
- 积分:1
-
VB航空公司管理系统,数据库使用SQL2
VB航空公司管理系统,数据库使用SQL2-VB airline management system, using the SQL2000 database
- 2022-01-25 14:58:32下载
- 积分:1
-
This is an operating system used to manage a permission procedure, it increases...
这是一个用来管理一个运行系统权限的程序,它增加删除用户,也可修改用户的密码和权限-This is an operating system used to manage a permission procedure, it increases delete users can modify user passwords and permissions
- 2022-01-22 16:54:44下载
- 积分:1