how to sort STL vector

Posted by NativeCoder on Stack Overflow See other posts from Stack Overflow or by NativeCoder
Published on 2010-05-03T12:48:12Z Indexed on 2010/05/03 12:58 UTC
Read the original article Hit count: 189

Filed under:
|

i want to sort a vector

vector<myclass> object;

where as myclass contains many int data variables, how can i sort my vector on any specific data variable of myclass.

© Stack Overflow or respective owner

Related posts about c++

Related posts about stl