-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudent.h
41 lines (36 loc) · 1.01 KB
/
student.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
using namespace std;
#include "degree.h"
class Student {
private:
string studentId;
string firstName;
string lastName;
string emailAddress;
string degreeProgramString;
int age;
Degree::DegreeType degreeProgram;
int daysToCompleteEachCourse[3];
public:
// Constructor
Student(string studentId, string firstName, string lastName, string emailAddress, int age, int *daysToCompleteEachCourse, Degree::DegreeType degreeType);
// Destructor
~Student();
void setStudentId(string studentId);
void setFirstName(string firstName);
void setLastName(string lastName);
void setEmailAddress(string emailAddress);
void setAge(int age);
void setDegreeProgram(Degree::DegreeType degreeType);
void setDaysToCompleteEachCourse(int*);
void resetStudentData();
string getStudentId();
string getFirstName();
string getLastName();
string getEmailAddress();
string getDegreeProgramString();
int getAge();
int *getDaysToCompleteEachCourse();
virtual Degree::DegreeType getDegreeProgram();
virtual void print();
};