Minor fixes

Dependencies:   LPS25H hts221

Fork of Coursework by Group PAG

Revision:
42:4e0a96b52e65
Child:
43:4ddc392dd0cc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Queue.h	Wed May 03 13:30:38 2017 +0000
@@ -0,0 +1,31 @@
+#ifndef Queue_H
+#define Queue_H
+#include "Reading.h"
+ 
+class Queue{
+       //variables  
+       const int maxSize = 120;
+       int front;
+       int back;
+       int count;
+       Reading storage[maxSize];
+       
+       
+       //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
+       public:
+       Queue();
+       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
+       void addRecord(Reading r);
+       
+       
+       
+};
+    
+    };
+#endif
\ No newline at end of file