文件名称:Exp29_3_2
介绍说明--下载内容来自于网络,使用问题请自行百度
使用顺序栈模板,用字符作参数定义字符栈,完成压栈和出栈操作,
顺序输入26个字母,输出为逆序。
2) 修改顺序栈类,当栈满时,执行StackFull()操作;动态创建一个是原来的栈空间
的两倍的空间,把原来栈中的内容放入新栈,再删除原栈空间。-The order of the stack using the template, the definition of character with the character as a parameter stack to complete the stacking and the stack operation, the order of 26 letters input, output for the reverse order. 2) modify the order of the stack class, when the stack is full, the implementation of StackFull () operation dynamically create a stack of space is twice the original space, the original contents of the stack into the new stack, and then delete the original stack.
顺序输入26个字母,输出为逆序。
2) 修改顺序栈类,当栈满时,执行StackFull()操作;动态创建一个是原来的栈空间
的两倍的空间,把原来栈中的内容放入新栈,再删除原栈空间。-The order of the stack using the template, the definition of character with the character as a parameter stack to complete the stacking and the stack operation, the order of 26 letters input, output for the reverse order. 2) modify the order of the stack class, when the stack is full, the implementation of StackFull () operation dynamically create a stack of space is twice the original space, the original contents of the stack into the new stack, and then delete the original stack.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Exp29_3_2.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
