list alphabetically

Started by
1 comment, last by Omega147 18 years ago
Is there any STL function for sorting an std::list<string> alphabetically?
A JPEG is worth a thousand and twenty four DWORD's. ;)
Note: Due to vacationing my website will not be updated till late-August. Of course I still have internet, but who wants to program during a vacation?
Advertisement
std::list::sort()? (list has a sort() member function)
Yeah, there's a sort function included in <algorithm>. See here for an example.

This topic is closed to new replies.

Advertisement