文件名称: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