some code samples, various examples of simple modeling ideas and some minor algorithms.

1234567891011121314151617181920
  1. import java.io.*;
  2. public class IOboy
  3. {
  4. private String fileName;
  5. TextIO test = new TextIO();
  6. public IOboy() throws IOException {
  7. this.fileName = "READMEEP.txt";
  8. }
  9. public void doIt() throws IOException{
  10. System.out.println(test.writeDouble(8.0, 5, 2));
  11. test.create(fileName);
  12. BufferedReader buff = test.open(fileName);
  13. System.out.println(buff.readLine());
  14. System.out.println(test.readString(buff));
  15. }
  16. }