//File queue.h #ifndef QUEUEH #define QUEUEH #include "concglob.h" typedef int itemtype; class node { friend class queue; private: itemtype item; node* next; }; class queue { public: queue(); ~queue(); boolean empty() const; void insert(itemtype item); itemtype remove(); itemtype front() const; void see() const; int length(); void clear(); private: //node* que; int size; node* head; node* tail; enum queueError {UNDERFLOW, EMPTY}; void err(queueError err) const; }; #endif