In this chapter we define a simple stack. The first version uses procedures and a structure, the second version uses a class. The class version of the stack is very similar to the procedure/structure version of the stack, except that the procedures (member functions) and structures are integrated. That means that you don’t have to pass the structure as the first parameter to each procedure.