c++中ofstream与ifstream
时间: 2023-05-02 13:05:07 浏览: 117
ofstream,ifstream,fstream读写文件
5星 · 资源好评率100%
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.
阅读全文