c++中ofstream与ifstream
时间: 2023-05-02 14:05:07 浏览: 116
C++中fstream,ifstream及ofstream用法浅析
In C++, ofstream and ifstream are used to write and read files respectively. The ofstream class is used to create and write data into files, while the ifstream class is used to read data from files.
阅读全文