Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::ofstream (abbreviation of 'output file stream') is an STL file I/O output stream.
std::ofstream is used to write to a file. To read from a file, use std::ifstream. Both are derived classes from std::fstream.
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.