-
Notifications
You must be signed in to change notification settings - Fork 0
/
student.h
48 lines (44 loc) · 976 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
#pragma once
#include <iostream>
#include <string>
#include "degree.h"
using namespace std;
namespace S
{
class Student {
public:
string student_ID;
string first_name;
string last_name;
string email;
int age;
int days[3];
DegreeProgram degree;
public:
void setter_ID(string student_ID);
void setter_first_name(string first_name);
void setter_last_name(string last_name);
void setter_email(string email);
void setter_age(int age);
void setter_days(int days[]);
void setter_degree_program(DegreeProgram degree);
string getter_ID();
string getter_first_name();
string getter_last_name();
string getter_email();
int getter_age();
int* getter_days();
string getter_degree_program();
Student();
Student(string student_ID,
string first_name,
string last_name,
string email,
int age,
int days[],
DegreeProgram degree
);
~Student();
void print();
};
}