Define two objects named outfile1 and outfile2 that can be used to write data from program variables to two different files.

Define two objects named outfile1 and outfile2 that can be used to write data from program variables to two different files.

LANGUAGE: C++

CHALLENGE:

Define two objects named outfile1 and outfile2 that can be used to write data from program variables to two different files.

SOLUTION:



ofstream outfile1, outfile2;

Add comment