Define two objects named infile1 and infile2 that can be used to read data into program variables from two different files.

LANGUAGE: C++

CHALLENGE:

Define two objects named infile1 and infile2 that can be used to read data into program variables from two different files.

SOLUTION:


ifstream infile1, infile2;