Searching for amount of unique values in vectorExcellent, thank you! It wiorks. The error was on "r1.Resource.c_str() < r2.Resource.c_str();", you...
Searching for amount of unique values in vectorYes, I want to compare the string. However, I get a "Error, no operateor '<' matches these operands"...
Searching for amount of unique values in vectorThank you for the suggestion, but I think your code should be this: [code]bool operator < (const Re...
Searching for amount of unique values in vectorOk, thank you for the replies. It seems I need a function for my third param in std::sort, but I am...
Searching for amount of unique values in vectorI have a std::vector<Record> RecordSet; where Recrod is a struct I made: struct Record { int va...
This user does not accept Private Messages