- 博客(2)
- 收藏
- 关注
原创 C++实现环形队列
//MyQueue.h文件#ifndef MYQUEUE_H#define MYQUEUE_Hclass MyQueue{public: MyQueue(int queueCapacity); ~MyQueue(); void ClearQueue(); bool QueueEmpty() const; bool QueueFull() const; int QueueL...
2019-01-10 10:05:01
878
1
原创 C语言实现队列
C语言实现队列// An highlighted block#include <stdio.h>#define MaxLen 10typedef struct Queue{ int data[MaxLen]; int head; int tail;}Queue;Queue InitQueue(){ Queue *p = (Queue *)malloc(si...
2019-01-08 21:34:30
1487
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人