-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofessor.h
40 lines (32 loc) · 1021 Bytes
/
professor.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
#ifndef PROFESSOR_H
#define PROFESSOR_H
#include <iostream>
#include <vector>
#include "course.h"
#define MAX_UGCDC_CCOURSES 100
#define MAX_UGELECT_CCOURSES 100
#define MAX_HDCDC_CCOURSES 100
#define MAX_HDELECT_CCOURSES 100
using namespace std;
class Professor
{
public:
string name;
double creditsAvailable;
vector<int> UGCDC;
vector<int> UGELECT;
vector<int> HDCDC;
vector<int> HDELECT;
int popular;
// static Course allCourse[MAX_COURSES];
static Course UGCDCallCourse[MAX_UGCDC_CCOURSES];
static Course UGELECTallCourse[MAX_UGELECT_CCOURSES];
static Course HDCDCallCourse[MAX_HDCDC_CCOURSES];
static Course HDELECTallCourse[MAX_HDELECT_CCOURSES];
vector<Course> assignedCourses;
// static vector<Course> allCourse;
void getDetails();
Professor(string nameStr, vector<int> selectUGCDC, vector<int> selectUGELECT, vector<int> selectHDCDC, vector<int> selectHDELECT, double credits);
// void setCourses(vector<int> selectedCourses);
};
#endif