摘要: #include<iostrea> #include<fstream> int main() { ofstream fout;// 创建一个ofstream对象 fout.open("fileName.txt");//要写的txt 放到工程下 fout<<123456<<endl;//像cout一样 阅读全文
posted @ 2016-07-28 16:06 xy123001 阅读(259) 评论(0) 推荐(0) 编辑