文件名称:practice-3.1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:779byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 编写一个程序algo3-1.cpp,实现顺序栈的各种基本运算,并在此基础上设计一个主程序完成如下功能:
(1)初始化栈s;
(2)判断栈s是否非空;
(3)依次进栈元素a,b,c,d,e;
(4)判断栈s是否非空;
(5)输出栈长度;
(6)输出从栈顶到栈底元素;
(7)输出出栈序列;
(8)判断栈s是否非空;
(9)释放栈;
-(1) Write a program algo3-1.cpp order stack basic arithmetic and designed on the basis of a main program performs the following functions:
(1) initialize the stack s
(2) to determine whether non-empty stack s
(3) turn into the stack elements a, b, c, d, e-
(4) to determine whether non-empty stack s
(5) the output stack length
(6) The output from the top to the bottom of the stack elements
(7) output from the stack sequence
(8) to determine whether non-empty stack s
(9) the release of the stack
(1)初始化栈s;
(2)判断栈s是否非空;
(3)依次进栈元素a,b,c,d,e;
(4)判断栈s是否非空;
(5)输出栈长度;
(6)输出从栈顶到栈底元素;
(7)输出出栈序列;
(8)判断栈s是否非空;
(9)释放栈;
-(1) Write a program algo3-1.cpp order stack basic arithmetic and designed on the basis of a main program performs the following functions:
(1) initialize the stack s
(2) to determine whether non-empty stack s
(3) turn into the stack elements a, b, c, d, e-
(4) to determine whether non-empty stack s
(5) the output stack length
(6) The output from the top to the bottom of the stack elements
(7) output from the stack sequence
(8) to determine whether non-empty stack s
(9) the release of the stack
(系统自动生成,下载前可以参看下载内容)
下载文件列表
practice-3.1.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。