-
Notifications
You must be signed in to change notification settings - Fork 0
/
student.h
54 lines (42 loc) · 966 Bytes
/
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
42
43
44
45
46
47
48
49
50
51
52
53
/*
*/
//
// File: welcome.h
//
#ifndef _welcome_H
#define _welcome_H
#include <string>
#include "degree.h"
using std::cout;
using std::endl;
using std::string;
class Student {
public:
Student();
~Student();
virtual void print();
//accessor functions
string studentIDGetter();
string firstNameGetter();
string lastNameGetter();
string emailGetter();
int ageGetter();
int arrayGetter(int i);
virtual enum Degree getDegreeProgram();
//mutator functions
void studentIDSetter(string studentID);
void firstNameSetter(string firstName);
void lastNameSetter(string lastName);
void emailSetter(string emailAddress);
void ageSetter(int age);
void arraySetter(int num1, int num2, int num3);
protected:
string studentID;
string firstName;
string lastName;
string emailAddress;
int age;
int daysInCourse[3];
enum Degree deg;
};
#endif /* _welcome_H */