From 4993c6468aa07e7c6a006a721fe82aaa4413eede Mon Sep 17 00:00:00 2001 From: angeld55 Date: Tue, 17 May 2022 20:42:42 +0300 Subject: added bar task --- Sem. 11/Examples/Student/Student.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Sem. 11/Examples/Student/Student.h (limited to 'Sem. 11/Examples/Student/Student.h') diff --git a/Sem. 11/Examples/Student/Student.h b/Sem. 11/Examples/Student/Student.h deleted file mode 100644 index d34763d..0000000 --- a/Sem. 11/Examples/Student/Student.h +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include "../Person/Person.h" - -class Student : public Person -{ - size_t fn = 0; - -public: - Student() = default; - Student(const char* name, int age, size_t fn); - - size_t getFn() const; - void setFn(size_t fn); - - - // No need for big 4, since there is NO dyn. memory in Student - // The compiler will generate valid: - - //Student(const Student& other); - //Student& operator=(const Student& other); //no need - // ~Student() - - //See on the .cpp file how the compiler creates them - -}; -- cgit v1.3.1-23-gd82d