C++中使用文件的方法 1.说明一个文件流对象: ifstream infile; 2.使用文件流类的成员函数或构造函数打开一个文件: infile.open(“myfile.txt”);... 尤尤 我的笔记 2016-6-4 4452 0