A+ Work




write your own version of a class template that will create a dynamic queue of any data type. Demonstrate the class with a driver program.

The enqueue and dequeue methods should throw exceptions if the queue is full and empty, respectively.

In addition, include a copy constructor and overloaded assignment operator.

You may not use containers from the STL.

---------------------------

Scoring: Points:

---------------------------

enqueue method: 1

dequeue method: 1

constructor: 1

copy constructor: 1

destructor: 1

assignment operator: 1

isempty method: 1

isfull method: 1

demonstration: 2