3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
CircularArray/CircularArray.h
- Committer:
- aburch1
- Date:
- 2017-05-10
- Revision:
- 80:959151952153
- Parent:
- 65:3723d2729b68
- Child:
- 81:996c0a3319b4
File content as of revision 80:959151952153:
#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(); Measure pullValue(); private: int firstValue, currentSize, maxSize; int nextSpace(); Measure *array; };