#include "queue.h"
int main()
{
Queue *q=createQueue(3);
OutQueue(q);
InQueue(q,1);
InQueue(q,2);
InQueue(q,3);
InQueue(q,4);
printf("%d\n",OutQueue(q));
printf("%d\n",OutQueue(q));
printf("%d\n",OutQueue(q));
printf("%d\n",OutQueue(q));
getchar();
return 1;
}
C语言实现的队列Queue
5星 · 超过95%的资源 需积分: 50 192 浏览量
2013-01-16
04:20:05
上传
评论
收藏 589B GZ 举报
Agnes_Lu
- 粉丝: 1
- 资源: 15
- 1
- 2
- 3
- 4
前往页