String Selection Sort Modification

String Selection Sort Modification

Write a program that uses the selection sort to sort the names found in the presidents.txt file. Have the program prompt the user for the filename. Make sure to check to see if the file was found. Read the names in a string array until you come to the end of the file. Count the names as you read them so you will be able to use a for loop to display the names. The names have spaces in them so use the appropriate command to read the full names. Once the names have been read in, display the list of names. Then use a selection sort to sort the names alphabetically. Display the sorted list of names. The file is found at the bottom of Moodle.

DO NOT use a two-dimensional array of type char (as in the textbook example); use an array of type string instead.
Guys i really need help with this c++ question
Please, review the link below:
https://stackoverflow.com/help/how-to-ask

Could you be a little specific of what issues are you having?
Topic archived. No new replies allowed.