-
Notifications
You must be signed in to change notification settings - Fork 0
/
CourseList.h
41 lines (33 loc) · 901 Bytes
/
CourseList.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
#include <iostream>
#include <stdlib.h>
#include <vector>
using namespace std;
#ifndef COURSELIST_H
#define COURSELIST_H
#include "Course.h"
class CourseList {
private:
int capacity;
int currentQuantity;
string crn;
string name;
string department;
string number;
Course* allCourses;
public:
CourseList();
CourseList(string newCRN, string newDepartment, string newNumber, string newName);
~CourseList();
bool searchByCRN(string newCrn);
void searchByCRNPrintInfo(vector<string> crn);
void addCourse(Course addCourse);
void removeCourse(string removeCourse);
void resizeArray();
void printBuild();
bool checkByCRN(string newCRN);
string getCRN();
string getName();
string getDepartment();
string getNumber();
};
#endif