diff options
added new examples
1 files changed, 15 insertions, 0 deletions
| -rw-r--r-- | Big4_and_inheritance/Students/Student.h | 15 |
diff --git a/Big4_and_inheritance/Students/Student.h b/Big4_and_inheritance/Students/Student.h new file mode 100644 index 0000000..aafaf58 --- /dev/null +++ b/Big4_and_inheritance/Students/Student.h @@ -0,0 +1,15 @@ +#pragma once +#include "User.h" +#include "GradesBook.h" + +class Student : public User +{ +public: + int fn; + GradesBook b; + + Student(const char* name, int age, int fn); + void ReceiveGrade(int grade); + + +}; |
