Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Re: I/O stream for reading and editing a file full of numbers

    Not necessarily. Did you try it? You can add a slight twist to the method I mentioned if you're files are huge and you worry about reading it all into memory...as you read the first file, parse it...
  2. Re: I/O stream for reading and editing a file full of numbers

    Read the file and parse as desired into a StringBuilder/Buffer, then over-write the file with the new data. You could wrap a FileInputStream and FileOutputStream in a BufferedReader/BufferedWriter to...
Results 1 to 2 of 2