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