// IntQueue.h // Integer queue class using a linked list // CS210 - S'03 - 3/6/03 - Ray S. Babcock // #ifndef INTQUEUE_H_ #define INTQUEUE_H_ class IntQueue { struct Node { struct Node * next; int value;}; public: IntQueue(int=10); ~IntQueue(); bool isEmpty() const; bool isFull() const; int queueCount() const; bool enqueue(const int & value); bool dequeue(int & value); private: Node * front; Node * rear; int items; const int qsize; IntQueue & operator=(const IntQueue & q); }; #endif