This program sorts an array of integers using the QuickSort algorithm and allows the user to select the position of the pivot element (first, middle, or last). The program also counts the number of comparisons made during the sorting process.
- Reads input from a file specified by the user.
- Allows the user to select the pivot position (first, middle, or last).
- Outputs the sorted array.
- Displays the number of comparisons made during the sorting process.
- Displays the number of elements in the array.
- Compile the program using a C++ compiler: `�ash g++ quicksort.cpp -o quicksort