Source Code เพื่อ การศึกษา
j0604.java
j0604
// :::: โปรแกรมลำดับที่ 24 // 1. เขียนข้อมูลลงไปในแฟ้ม tmp.txt // 2. create or replace file 256 byte in ascii character import java.io.*; class j0604 { public static void main (String args[]) throws IOException { FileOutputStream fout = new FileOutputStream("tmp.txt"); for(int i=0;i<256;i++) { fout.write(i); } fout.close(); } }
ปรับปรุงโปรแกรม source.pl : 2553-03-20