码迷,mamicode.com
首页 > 其他好文 > 详细

c How to Make an Ascii Picture.

时间:2016-12-13 07:47:50      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:static   java   rgs   print   nbsp   int   readline   ***   ascii   

import java.io.*;

public class trans{
    public static void main(String[] args){
        try{
            File inFile = new File("D:/****/src.txt");
            File outFile = new File("D:/****/target.txt");
            
            FileReader fr = new FileReader(inFile);
            BufferedReader br = new BufferedReader(fr);
            
            FileWriter fw = new FileWriter(outFile);
            PrintWriter pw = new PrintWriter(fw);
            
            while(br.ready()){
                pw.println("\"" + br.readLine() + "\",");
            }
            
            pw.close();
        }catch(Exception e){}
    }
}

 

c How to Make an Ascii Picture.

标签:static   java   rgs   print   nbsp   int   readline   ***   ascii   

原文地址:http://www.cnblogs.com/xkxf/p/6166395.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!