![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Minor fixes
Fork of Coursework by
Diff: Queue.h
- Revision:
- 44:2b23c7407547
- Parent:
- 43:4ddc392dd0cc
--- a/Queue.h Thu May 04 12:55:16 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -#ifndef Queue_H -#define Queue_H -#include "Reading.h" - -class Queue{ - //variables - public: - const int maxSize = 120; - int front; - int back; - int count; - bool isFull; - Reading *storage; - - - //realisticly what we need:: - //read values taking argument n - //read values taking no argument - //take value and put it in the right place - //delete with argument - //delete without argument - - Queue(int i); - Queue(); - void push(Reading r); - void read(int nR); // where nR is the number to read, if REAL ALL is typed then the method will be called by something like queue.read(queue.count). - void deleteRecords(int nD); //as above but nD is number to delete - -}; -#endif \ No newline at end of file