Answered You can hire a professional tutor to get the answer.
I have been trying for hours and can not seem to get it.
need help writing this code. I have been trying for hours and can not seem to get it.
- Working with arrays
- Using file operations
- Using a selection sort to sort string arrays
- Using a function to display arrays
- Using a function to save arrays to file
- Implementing functions besides function main()
Project Description
C++ program that processes a string data file. The program will 1) read the names from a string data file and place them in an array, and 2) sort the names in the array in ascending order using selection sort. The program will use a function to display the array before it is sorted and AFTER it is sorted. A separate function should be implemented to save the sorted names to a data file called "sortedNames.txt."