Write two files to the third file?
Posted on 2005-04-28
How can i write a program that merges the numbers in two files and writes all the numbers into a thrid file. and sorted order from the smallest to the largest in third file.
Start right here
using namespace std;
int main( )
if (fin.fail( ))
cout <<"Input file opening failed.\n";
if (fout.fail( ))
cout <<"Output file opening failed.\n";
This confuses me, can someone give an idea. Thanks for all your help.