// File: intq.h // // Derive a integer queue from the generic queue class #ifndef _intq_h #define _intq_h #include "genq.h" class IntQ : public GenQ { // public derivation of GenQ class public: IntQ() ; // constructor ~IntQ() ; // destructor // overide GenQ operations // void enqueue(int) ; // add an int to the end of queue int dequeue() ; // return and delete from front of queue int peek() ; // return int at the front void remove(int) ; // remove items wth key equal to given int private: static int cmp (void *, void *) ; // int comparison static void prt (void *) ; // print an int } ; #endif