Just copy our version from quick1.h and add your name and other information at the top. It does not have any class declarations. The source codes qtest1.cxx and qexam1.cxx are available in the locations listed below. Include your name in a comment at the top. This hides the function name from the linker, and is accomplished by placing the word static before the function prototype and before the function definition.
Calls quicksort to sort an array with just one element.
See Note 4 below. Check that the array is correct after sorting. Calls quicksort to sort an array that contains 1000 elements with two copies of the numbers from 0 to 499. Check that the array is correct after sorting. Calls quicksort to sort an array that contains the numbers 0 through 25 already sorted.