Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================================
- // File Name : GroupOfStudents.h
- // Authors : You
- // Version : 1.0
- // Copyright : Your copyright notice (if applicable)
- // Description : C++ group project
- //============================================================================
- #ifndef GROUPOFSTUDENTS_H_
- #define GROUPOFSTUDENTS_H_
- #include <vector>
- #include "StudentCourses.h"
- using std::vector;
- class GroupOfStudents
- {
- private:
- vector<StudentCourses> sc;
- void search_for_highest(vector<int>& indices_max) const; // utility
- public:
- GroupOfStudents() {}
- GroupOfStudents(const vector< StudentCourses >& v);
- // add required methods
- const vector<StudentCourses>& get_student_courses() const;
- void set_student_courses(vector<StudentCourses>& v);
- void write_to_file(bool binar) const;
- void pozovi_sort(bool id) ;
- friend void sort_id(vector<StudentCourses> &grupe);
- friend void sort_prezime(vector<StudentCourses> &grupe);
- };
- #endif /*GROUPOFSTUDENTS_H_*/
Add Comment
Please, Sign In to add comment