Hi there, the function selectionSort in the class below is suppose to perform a selection sort on a list of unsorted integers in the file myFile.txt but it doesn't seem to be working right as it outputs garbage instead of sorting the array list. please assist
I am not really concerned about changing the size of an array. All I want is to test if the selectionSort() function is working properly that is why I avoided using the dynamic memory array because it requires a copy constructor and an overloaded assignment operator.