Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4AndInheritance / Students / Student.h
diff options
context:
space:
mode:
1 files changed, 13 insertions, 0 deletions
-rw-r--r--Big4AndInheritance/Students/Student.h13
diff --git a/Big4AndInheritance/Students/Student.h b/Big4AndInheritance/Students/Student.h
new file mode 100644
index 0000000..4921a5d
--- /dev/null
+++ b/Big4AndInheritance/Students/Student.h
@@ -0,0 +1,13 @@
+#include "User.h"
+
+class Student : public User
+{
+public:
+ int fn;
+ GradesBook b;
+
+ Student(const char* name, int age, int fn);
+ void ReceiveGrade(int grade)
+
+
+}; \ No newline at end of file