-
Notifications
You must be signed in to change notification settings - Fork 1
/
Department.h
38 lines (30 loc) · 908 Bytes
/
Department.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
#ifndef DEPARTMENT_H
#define DEPARTMENT_H
using namespace std;
class Department
{
private:
// Declaring the variables need for this class //
string departmentID;
string departmentName;
string courseNameInDep[100];
string courseIDInDep[100];
string teacherNameInDep[100];
string teacherIDInDep[100];
string studentNameInDep[100];
string studentIDInDep[100];
public:
// Declaring the constructor with two different parameters //
Department(string ID, string name);
// Declaring member functions //
string getDepartmentID();
void setCourse(string name, string id);
void setTeacher(string name, string id);
void setStudent(string name, string id);
void printAllTeachers();
void printAllStudents();
void printAllCourses();
// Declaring the destructor //
~Department();
};
#endif