Stacks are discussed in Chapter 7. Here is the
example from class
(a stack of characters).
Templates
Templates are classes and functions and operators that work with different
data types, the data type being a parameter. This is discussed in Chapter 6.
Here is the template version of the
stack class discussed in class and the difference
between the non-template and the template version.