Sorting A vector of objectsI posted this on an other forum as well where I got this advice: [quote]The function you are passin...
Sorting A vector of objects[code]friend static bool compAlph(const Student& a, const Student& b);[/code] [code]inline static...
Sorting A vector of objects[code]friend bool compAlph(Student &a, Student &b);[/code] [code]inline bool compAlph(Student &a,...
Sorting A vector of objectsum... what? How would I do that? add friend to it in the Student.h? and remove Student:: from...
Sorting A vector of objectswhen I remove that: [code]std::sort<std::vector<Student>::iterator, bool>(list.begin(), list.end(...
This user does not accept Private Messages