asked 88.6k views
1 vote
Define an object named outfile that can be used to write data from program variables to a file.

asked
User Nilish
by
8.0k points

1 Answer

4 votes
An object that named outfile that can be used to write data from program variables to a file is an ofstream. An ofstream is used to maintain and keep the filebuf things and they are used as internal stream buffer. It is also connected with its identified files and its primary files.
answered
User BernardA
by
7.7k points