diff options
Added my work from today's exam
1 files changed, 8 insertions, 0 deletions
| -rw-r--r-- | Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h | 8 |
diff --git a/Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h b/Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h new file mode 100644 index 0000000..b98256d --- /dev/null +++ b/Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h @@ -0,0 +1,8 @@ +#include "Event.h" + +class SimpleEvent : public Event { +public: + SimpleEvent(unsigned startTime, unsigned endTime); + + SimpleEvent* clone() const override; +}; |
