Why reinvent the wheel?
STL queue and deque containers won't do it for you?

05-24-2004

Prelude

>1. Will my queue class produce a circular queue?
Good question. Will it? You sound like you have no confidence in the code that you've written. I would recommend removing all unnecessary code from the Queue class so that you can test it thoroughly using something simple, like integers: