CppStdOn this pageStd 一些标准库的使用方法 ofstream #include<fstream>ofstream temp(Filepath.txt);temp<<………;temp.close();