-
Notifications
You must be signed in to change notification settings - Fork 1
/
Student.h
57 lines (43 loc) · 1.04 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
C867-Scripting and Programming: Applications
Language: C++
David Sainvilus
StudentID: 001049272
*/
#pragma once
#include <string>
#include "Degree.h"
using namespace std;
class Student
{
public:
//constructor
//Student();
Student(string studID, string fiName, string laName, string emAddr, int a, int* nmDays, Degree degree);
//accessors for each instance variable
string getStudentID();
string getFirstName();
string getLastName();
string getEmailAddress();
int getAge();
int* getNumDays();
Degree getDegree();
//mutator for each instance variable
void setStudentID(string studentID);
void setFirstName(string firstName);
void setLastName(string lastName);
void setEmailAddress(string emailAddress);
void setAge(int age);
void setNumDays(int day0, int day1, int day2);
void setDegree(Degree degree);
void print();
//Deconstructor
~Student();
string studentID;
string firstName;
string lastName;
string emailAddress;
int age;
int numDays[3];
Degree degree;
};