-
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
-
用VB程序SPK看见
应用背景源系统,用penunjang科德metode看到使用Visual Basic 6关键技术源科德ini使用马来语pemroragam Visual Basic 6丹,databasenya,MySQL,mengkoneksikannya dibutuhkan XAMPP ODBC连接器
- 2022-01-23 10:47:19下载
- 积分:1
-
是一种数据结构的编程代码,程序实现一块链表的管理每个人资料...
是一种数据结构的编程代码,程序实现一块链表的管理每个人资料-is a data structure of the programming code, procedures to achieve a Chain Management everyone information
- 2023-01-03 02:45:04下载
- 积分:1
-
这是一个学生数据库管理的小程序,本人乃学生,刚学习数据库编程,做了个这个,献丑了...
这是一个学生数据库管理的小程序,本人乃学生,刚学习数据库编程,做了个这个,献丑了-This is a small student database management procedures, it is my students, just to learn database programming, had to do this, show one
- 2022-06-15 11:39:13下载
- 积分:1
-
Arithmetic Coding
算术编码熵编码Arithmetic Coding-Arithmetic Coding
- 2022-03-12 09:12:53下载
- 积分:1
-
this cscan algo in c
this cscan algo in c-this is cscan algo in c++
- 2023-08-14 14:05:02下载
- 积分:1
-
打开
开源的数据库管理系统,采用 key->value 方式,适用场合很多!绝对源码!-open-source database management system that uses key-gt; Value, applies many occasions! Absolute source!
- 2022-07-08 21:41:22下载
- 积分:1
-
栈的应用-表达式求值2
栈的应用-表达式求值2 ..............................................................................................................................................................................
- 2023-03-28 02:05:04下载
- 积分:1
-
这是数据结构中树的全部实现代码,对学习数据结构的同学很有帮助...
这是数据结构中树的全部实现代码,对学习数据结构的同学很有帮助-this is a code of data structure
- 2022-02-13 10:57:10下载
- 积分:1
-
数据连接程序放到数据库里,登陆发现新版本则下载.
数据连接程序放到数据库里,登陆发现新版本则下载.-data link procedures into databases, landing discover new version will download.
- 2022-07-18 22:01:19下载
- 积分:1