文件名称:ExtendStack
介绍说明--下载内容均来自于网络,请自行研究使用
C++实验8 扩展Stack类:
(1)向Stack类添加一个实例函数printStack,以打印栈中所有元素。
(2)为Stack类添加一个实例函数contains(T element),检查给定元素是否在栈中。-C++ experiment 8 Extended Stack categories: (1) an instance of the class is added to the Stack function printStack, to print all the elements of the stack. (2) to add an instance of the Stack class function contains (T element), to check whether a given element in the stack.
(1)向Stack类添加一个实例函数printStack,以打印栈中所有元素。
(2)为Stack类添加一个实例函数contains(T element),检查给定元素是否在栈中。-C++ experiment 8 Extended Stack categories: (1) an instance of the class is added to the Stack function printStack, to print all the elements of the stack. (2) to add an instance of the Stack class function contains (T element), to check whether a given element in the stack.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验八扩展Stack类.txt