C++

C++ Generic Queue

I want to share with you a generic queue in C++ that I made for educational purposes. It is mainly composed by two classes as every LIFO stack (also known as Queue), first the Queue class that defines an interface for using our queue with the common methods (enqueue, dequeue, first, isEmpty,…) and finally the …

C++ Generic Queue Read More »