Website Summary Files Commits Branches @commit @diff @stats
path: root / Week10 / Exercise01 / Teacher.h
diff options
context:
space:
mode:
1 files changed, 14 insertions, 0 deletions
-rw-r--r--Week10/Exercise01/Teacher.h14
diff --git a/Week10/Exercise01/Teacher.h b/Week10/Exercise01/Teacher.h
new file mode 100644
index 0000000..216d40e
--- /dev/null
+++ b/Week10/Exercise01/Teacher.h
@@ -0,0 +1,14 @@
+#ifndef _TEACHER
+#define _TEACHER
+
+#include "User.h"
+
+class Teacher : public User {
+ char subject[1024];
+ unsigned teachingStudentsCount;
+
+public:
+ void ChangeStudents(unsigned teachingStudentsCount);
+};
+
+#endif /* _TEACHER */