Help with a long sorting program.
The assignment asks for a program that sorts a 1D int array, 2D int array, 1D double array, 2D double array, 1D char array, 2D char array, 1D string array and 2D string array using selection sort, bubble sort and another sort of your choice.
The program also asks for a nice menu to keep things organized and clean. I already know how to make the menu for this: 2 layers of menu, first have them pick what kind of sorting they want, then choose which kind of array to sort, after the second selection has been made, the array is made based on the selection. However, the things I am baffled by are:
1. Code efficient way of telling the sorting function what kind of sort and array the user has chosen.
2. How to sort chars and strings.
3. Another method of sorting other than bubble and selection.
I don't know exactly how to do bubble and selection sorting but I think i can look that up myself. Any help would be greatly appreciated.