//Header file for Queue class

typedef int QElement;

const MaxQueue = 100;
const True = 1;
const False = 0;

class Queue
{
  protected:
    int Front;
    int Rear;
    int NumItems;
    QElement Items[MaxQueue];

  public:
    Queue();
    void Insert(QElement El,      //input - data to insert
		int &Success);    //output - program flag
    void Remove(QElement &El,     //output - data removed
		int &Success);    //output - program flag
    void Retrieve(QElement &El,   //output - data retrieve
		  int &Success);  //output - program flag
    int IsEmpty();
    int IsFull();
    int SizeOfQueue();
};
