![](/media/cache/profiles/ba5be68d3d541f2ca043d77fc54fe702.jpg.50x50_q85.jpg)
3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Diff: Measure.cpp
- Revision:
- 46:0de1f3c7d118
- Parent:
- 40:ba083993b481
- Child:
- 65:3723d2729b68
diff -r 9a33f2bc2b4e -r 0de1f3c7d118 Measure.cpp --- a/Measure.cpp Thu Apr 06 14:11:37 2017 +0000 +++ b/Measure.cpp Thu Apr 06 15:31:01 2017 +0000 @@ -1,5 +1,5 @@ #include "Measure.h" - +#include "LocalDate.h" //Constructor Measure::Measure(float f, float h, float p) { temperature = f; @@ -12,3 +12,10 @@ humidity = 0; pressure = 0; } + Measure::Measure(LocalDate d,float f, float h, float p) + { + date = d; + temperature = f; + humidity = h; + pressure = p; + }