Hi there,
I have struct like this one:
// and a vector like this one
thing is that I want to sort a vector by sort_var.
How can I do that?
Regards,
Philia
I have struct like this one:
Code:
struct kurs { unsigned short int var1; string string_var; int sort_var; };
Code:
vector < struct kurs> kurs_2;
thing is that I want to sort a vector by sort_var.
How can I do that?
Regards,
Philia
Comment