/* header file for queue1d.h */ #ifndef _QUEUE1E_H #define _QUEUE1E_H #define MAX 5 #define ERROR 1 #define OK 0 extern int *lockP; class queue { private: int front, rear, count ; int data[MAX]; public: queue(); int addQ(int); int deleteQ(void); int frontQ(int &); int isEmptyQ(); int isFullQ(); }; #endif