diff options
clean up
1 files changed, 0 insertions, 29 deletions
| -rw-r--r-- | Sem. 09/task1 (not finished)/Student.h | 29 |
diff --git a/Sem. 09/task1 (not finished)/Student.h b/Sem. 09/task1 (not finished)/Student.h deleted file mode 100644 index 5c09792..0000000 --- a/Sem. 09/task1 (not finished)/Student.h +++ /dev/null @@ -1,29 +0,0 @@ -#include "Grade.h" - -const size_t MAX_NAME_LENGTH = 30; -const size_t MAX_GRADES_COUNT = 20; -class Student -{ -public: - - Student(const char* name, size_t fn); - - void setFn(size_t fn); - void setName(const char* name); - - size_t getFN() const; - const char* getName() const; - - void addGrade(const char* taskName, size_t grade); - - - void print() const; -private: - char name[MAX_NAME_LENGTH + 1]; - size_t fn; - - Grade grades[MAX_GRADES_COUNT]; - size_t gradesCount; - - -};
\ No newline at end of file |
