Respuesta :

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.