#ifndef STUDENT_INFO_H #define STUDENT_INFO_H #include #include #include struct StudentInfo { std::string name; double midterm; double final; std::vector homework; }; bool compare_students(const StudentInfo& a, const StudentInfo& b); std::istream& read_homework(std::istream& in, std::vector& hw); std::istream& read_student(std::istream& is, StudentInfo& s); #endif /* STUDENT_INFO_H */