ofstream class — Output file stream
typedef basic_ofstream<char> ofstream;
The ofstream class is a specialization of the basic_ofstream template for char characters.
ofstream
basic_ofstream
char
basic_ofstream class template, wofstream class, ostream in <ostream>
ostream
<ostream>