文件名称:jasmine4
- 所属分类:
- Windows编程
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- jiang*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序实现顺序栈的各种基本运算,并在此基础上设计一个主程序完成如下功能:
1. 初始化栈S。
2. 判断栈S是否为空。
3. 依次进栈元素a,b,c,d,e。
4. 判断栈S是否为空。
5. 输出栈长度。
6. 输出从栈顶到栈底的元素。
7. 输出出栈序列。
8. 判断栈S是否为空。
9. 释放栈。-Realize the order of the preparation of a program stack of basic computing, and on this basis the design of a main program to complete the following functions: 1. Initialize stack S. 2. To determine whether the stack S is empty. 3. Elements into the stack followed by a, b, c, d, e. 4. To determine whether the stack S is empty. 5. The length of the output stack. 6. Output from the Top-stack at the end of the element. 7. Output sequence of the stack. 8. To determine whether the stack S is empty. 9. Release stack.
1. 初始化栈S。
2. 判断栈S是否为空。
3. 依次进栈元素a,b,c,d,e。
4. 判断栈S是否为空。
5. 输出栈长度。
6. 输出从栈顶到栈底的元素。
7. 输出出栈序列。
8. 判断栈S是否为空。
9. 释放栈。-Realize the order of the preparation of a program stack of basic computing, and on this basis the design of a main program to complete the following functions: 1. Initialize stack S. 2. To determine whether the stack S is empty. 3. Elements into the stack followed by a, b, c, d, e. 4. To determine whether the stack S is empty. 5. The length of the output stack. 6. Output from the Top-stack at the end of the element. 7. Output sequence of the stack. 8. To determine whether the stack S is empty. 9. Release stack.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验4.doc