1. Write a program that creates a vector of a few names. Then print the names, sort the names, and print the sorted names.
2. Since a list does not support random-access iterators, we cannot apply the generic sort algorithm to a list. The STL library, however, provides a customized sort operation for a list. Write a program that creates a list of integers, and then sort the list.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here