Please note the due date change of Thursday, September 30th
Parts 1 and 2 are due on Thursday, September 30thPart 2:
Create a class called Queue - you can use inheritance or containment of the VarVec class for the queue.
Class Queue
variables: front, back, count
Methods: add, remove, print, isfull, isempty
Default constructor queue(int s = 3)
The queue class is a circular queue, put new items onto the back of the queue and take things off the front of the queue.
No comments:
Post a Comment