Question: C++ programming Modify the selectionSort function presented in this chapter so it sorts an array of strings instead of an array of ints. Test the
C++ programming
Modify the selectionSort function presented in this chapter so it sorts an array of strings instead of an array of ints. Test the function with a driver program that reads an integer, N, from standard input and then reads the first N strings from a file called href="asfunction:_root.doTutor,7,CPP">names. (Assume that N is less than or equal to 20.) Input Validation. If N read in from standard input is greater than 20 the program terminates silently.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
