Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4_and_inheritance / Students / Student.h
diff options
context:
space:
mode:
1 files changed, 15 insertions, 0 deletions
-rw-r--r--Big4_and_inheritance/Students/Student.h15
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);
+
+
+};