/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package scaner; import java.io.*; /** * * @author DeZ */ public class Scaner { /** * @param args the command line arguments */ public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); FileOutputStream out = new FileOutputStream("e://quest.dat"); DataOutputStream dos = new DataOutputStream(out); String[] s = new String[36]; for (int i = 0; i < 36; i++) { s[i] = bf.readLine(); } for (int i = 0; i < 36; i++) { dos.writeUTF(s[i]); } } }