Define an object named outfile that can be used to write data from program variables to a file.
LANGUAGE: C++
CHALLENGE:
Define an object named outfile that can be used to write data from program variables to a file.
SOLUTION:
ofstream outfile;
Define an object named outfile that can be used to write data from program variables to a file.
ofstream outfile;