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++.

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!