Question: write a c++ program that takes input from two text files. each containing a theoretically unlimited amount of integers, thus the array needs to be
write a c++ program that takes input from two text files. each containing a theoretically unlimited amount of integers, thus the array needs to be dynamically made. this program will place the integers (which can be negative or positive) into a single array and sort them, then print them while avoiding duplicate values. sample input/output:
one.txt:
10 20 30 40
50
two.txt
-10 0 10 20
output:-10 0 30 40 50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
