Q: How can I sort a 'CArray' (or 'CStringArray', 'CIntArray', etc.)?
A: If the CxxxArray's items can be compared, then use 'std::sort':
Ascending:
#include <algorithm>
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Gabriel Fleseriu Search: Search took 0.49 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |