Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Student.h
- #include "Courses.h"
- #include <vector>
- class Student
- {
- private:
- ...
- vector<Course*> Have_Enrol;
- };
- // Course.h
- #include <vector>
- class Student;
- class Course
- {
- private:
- ...
- vector<Student*> S;
- public:
- ...
- void addStudent(Student* StuBeAdded);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement