循环队列——队列的顺序表示与实现(c语言)

顺序实现循环队列 代码以下:web //用顺序实现循环队列的基本操做 //之因此使用循环队列是为了减小空间浪费 #include<stdio.h> #include<malloc.h> #define MAXSIZE 100 struct Queue{ int *base; int front; int rear; }; struct Queue InitQueue(); int QueueL
相关文章
相关标签/搜索