diff options
Diffstat (limited to 'week10/Exercise04/Time12.h')
| -rw-r--r-- | week10/Exercise04/Time12.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/week10/Exercise04/Time12.h b/week10/Exercise04/Time12.h new file mode 100644 index 0000000..24669e6 --- /dev/null +++ b/week10/Exercise04/Time12.h @@ -0,0 +1,9 @@ +#pragma once +#include "Time24.h" + +class Time12 : Time24 { + bool pm; +public: + Time12(unsigned hours, unsigned minutes, bool pm); + void Print12(); +}; |
