3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
CircularArray/CircularArray.h
- Committer:
- Netaphous
- Date:
- 2017-04-09
- Branch:
- feature/listOptimisation
- Revision:
- 65:3723d2729b68
- Parent:
- 64:8ada3e0b2048
- Child:
- 80:959151952153
File content as of revision 65:3723d2729b68:
#include "Measure.h" class CircularArray { public: // constructor CircularArray(int limit); // public methods: void pushValue(Measure _measure); void readX(int x); void readAll(); void deleteX(int x); void deleteAll(); int getSize(); private: int firstValue, currentSize, maxSize; int nextSpace(); Measure *array; };