/*
	Programmer: Mark Dehus
	Compiles and runs fine on VC7.1, MiniGW, GCC
	and any other UP TO DATE ANSI STANDARD Compilers.

	VC6 is NOT an ANSI standard compiler and I am not
	responsible for whatever out of date junk it may produce.
*/

#ifndef QUEUE_H
#define QUEUE_H

class queue
{
    private:
    	int *queueArray;
		int *tempArray;
        int queueSize;
        int front;
        int rear;
        int numItems;
    public:
        queue(int);
        ~queue();
		void resize(int);
        void enqueue(int);
        int dequeue();
        bool isEmpty();
        bool isFull();
		int at(int);
        int count(){return numItems;}
        void clear();
};

#endif

