首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

把向txt资料输出信息

2012-12-24 
把向txt文件输出信息第一步:FileWriter out第二步:out new FileWriter(log.text)第四步:out.write(

把向txt文件输出信息



第一步:FileWriter out;
第二步:out = new FileWriter("log.text");
第四步:out.write("断点1\r\n");
第五步:out.flush();
第六步:在外面加上try{}catch{};

热点排行