文件名称:zhan
-
所属分类:
- 标签属性:
- 上传时间:2015-01-02
-
文件大小:13.68kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个程序实现顺序队列的各种基本运算,并在此基础上设计一个主程序完成如下功能: 1. 初始化队列q。 2. 判断队列q是否为空。 3. 依次进队元素a,b,c。 4. 出队一个元素,输出该元素。 5. 输出队列q的元素个数。 6. 依次进队列元素d,e,f。 7. 输出队列q的元素个数。 8. 输出出队序列。 9. 释放队列。-Write a program to achieve a variety of basic operations of the order queue, and based on the design of a main program performs the following functions: 1. Initialize the queue q. 2. Q is determined whether the queue is empty. 3. Turn into the team elements a, b, c. 4. Dequeue an element, the output of the element. 5. Q the number of elements in the output queue. 6. Turn into a queue element d, e, f. 7. Q the number of elements in the output queue. 8. Sequence output the team. 9. Release queue.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zhan.docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.