Question: (60 points)* Please implement the external merge sort algorithm using C++. Write a program to implement the external merge sort, The program take 4 inputs,
(60 points)* Please implement the external merge sort algorithm using C++. Write a program to implement the external merge sort, The program take 4 inputs, a source file, a destination file, the number of records, and an indicator of ascending or descending order. The source file is a string representing the file path and file name of the source file. Similarly for the destination file. The source file contains the input data, while the destination file is to keep the result. Number of records is an integer representing the number of records in each run. The ascending or descending order indicator is represented by 1 or -1, 1 for ascending and -1 for descending order, respectively
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
