Anyone can help to sort this code alphabetically ?
you could use a STL-container like std::vector to store the names and std::sort for sorting them
or you could compare the lastAlph and firstAlph each time with the new input...
so many possibilities :o
Last edited on