Описание тега ifstream
NoneIfstream provides an interface to read data from files as input streams.
The C++ standard library type std::ifstream
is a specialized std::istream
which uses a std::filebuf
to read from a file.
Use this tag for questions about std::ifstream
or the wide-character version std::wifstream
(also wifstream), or the class template std::basic_ifstream
. For questions about file I/O in C++ the tags fstream, ofstream, filebuf and stdio might be relevant. For more general questions about input streams use the istream or iostream tags.