Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
I'm trying to figure out how to use the max_element algorithm on a vector of structs, rather than POD's like int etc. This is my struct: [code=cpp]struct NameComponents { std::string sValue; std::string sDescriptor; int nOrder; int nStatus; // Construtor. NameComponents( std::string inValue, std::string inDescriptor, int inOrder ) : sValue( inValue … |