Group PAG
/
PAG-CourseWork-NicksEdits
Minor fixes
Fork of Coursework by
Clock.cpp
- Committer:
- RossalaTTM
- Date:
- 2017-05-03
- Revision:
- 37:1a621144e73f
- Child:
- 38:d806504b415a
File content as of revision 37:1a621144e73f:
#include "Clock.h" Clock::Clock(int y, int mo, int d, int h,int mi,int s){ year = y; month = mo; day = d; hour = h; minute = mi; second = s; } Clock::Clock(){ year = 2017; month = 01; day = 01; hour = 12; minute = 0; second = 0; } void Clock::TickTock(){ //what happens when it ticks? } void Clock::setClock(Clock *dt){ year = dt->year; month = dt->month; day = dt->day; hour = dt->hour; minute = dt->minute; second = dt->second; }