C++ 文件操作


Basic I/O:ios,istream,ostream,and iostream


File I/O:ifstream,ofstream,and fstream

In-memory I/O with C-style strings:istrstream,ostrstream,and strstream

In-memory I/O with string objects strings:istringstream,ostringstream,and stringstream

原文地址:https://www.cnblogs.com/james1207/p/3293894.html