Define an object named infile that can be used to read data into program variables from a file.

LANGUAGE: C++

CHALLENGE:

Define an object named infile that can be used to read data into program variables from a file.

SOLUTION:


ifstream infile;