This section presents an array-based implementation of ordered lists. Program declares the ListAsArray class. The ListAsArray class is a concrete object class and as such must provide implementations for all of the interface member functions which have been declared as pure virtual functions in the base classes from which the ListAsArray class is derived. The prototypes have been omitted from Program since they have all been given earlier.
Program: ListAsArray Class Definition