3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Diff: Measure.cpp
- Revision:
- 68:d3765f93c16a
- Parent:
- 65:3723d2729b68
diff -r 8d0e88172e2a -r d3765f93c16a Measure.cpp --- a/Measure.cpp Mon Apr 10 01:37:12 2017 +0000 +++ b/Measure.cpp Thu Apr 13 11:07:14 2017 +0000 @@ -1,17 +1,19 @@ #include "Measure.h" - //Constructor + //Constructor taking 3 parameters Measure::Measure(float f, float h, float p) { temperature = f; humidity = h; pressure = p; } + // Empty / default constructor Measure::Measure() { temperature = 0; humidity = 0; pressure = 0; } + // Constructor taking 4 paramters, in cluding a LocalDate Measure::Measure(LocalDate d,float f, float h, float p) { date = d;