Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Array Implementation

Program gif declares the QueueAsArray class. The QueueAsArray class is a concrete class that provides an array-based queue implementation. As such, it must provide an implementation for all of the inherited pure virtual functions--the function prototypes have been elided for the sake of brevity.

   program6910
Program: QueueAsArray Class Definition