2019独角兽企业重金招聘Python工程师标准>>> ofstream f("c:\\1.txt",ios::trunc); f.close(); 转载于:https://my.oschina.net/u/581475/blog/77262