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...


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.



Nov 27, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here