顺序循环队列 初始化、出队、入队、取队头元素、判空

#include<stdio.h> //顺序循环队列 对尾插入,对头删除,先进先出 #define MaxSize 20 typedef struct { int queue[MaxSize]; int rear; //对尾指针 int front; //对头指针 int count; //计数器 }SeqCQueue; void QueueInitiate(Se
相关文章
相关标签/搜索