Question: Given 2 files that contain integer data, the goal is to write a C++ program that detects if the files are identical. For example, suppose



Given 2 files that contain integer data, the goal is to write a C++ program that detects if the files are identical. For example, suppose we have two input files data1.txt and data2.txt with the following data: 17 9 15 17 15 Are these files the same? Given the names of two files, your program should input the data into two separate arrays, sort each one, and then output the data side-by-side followed by a summary. Given the files above: 0,0 0,0 8,9 15,15 17,17 22,22 # of lines: 6 similarity: 83.3333% Identical? NO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
