So this basicly make a text file called numbers with 99999999 numbers in it.
Code:import java.io.*; public class GenNumbers { /* * Prints out 99999999 numbers in to a file. * Created by: Joey * July 16, 2008 */ public static void main(String[] args) throws IOException{ FileWriter file = new FileWriter("numbers.txt", false); PrintWriter output = new PrintWriter(file); int x = 1; while (x < 10){ output.println(+ x); x = x + 1; } output.close(); } }
I'm can't think of a use for this. Interesting to know though.
I use it to recored all the ips possiable but this verison can't.
~Paradox
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks