// Program Name:  Process Scheduler
// Programmer: Mark Dehus, 42
// Assignment Number: Project #1
// Purpose: To simulate and show the process scheduling
//			system of an operating system.

// Tested and compiled on Minigw (GCC 3.2) with Dev-C++ 4.9.8.0
// there is a couple problems on VC++ because it is outdated
// and no longer meets current ISO C++.

#ifndef QUEUE_H
#define QUEUE_H

class queue
{
    private:
    	int *queueArray;
        int queueSize;
        int front;
        int rear;
        int numItems;
    public:
        queue(int);
        ~queue();
        void enqueue(int);
        int dequeue();
        bool isEmpty();
        bool isFull();
		int at(int);
        int count(){return numItems;}
        void clear();
};

#endif

