Search:

Type: Posts; User: orbin

Search: Search took 0.13 seconds.

  1. Re: Having trouble reading in a text file with integers..keep getting NumberFormatEx?

    Woohoo! I think I got it! Finally took a closer look at it and realized that my logic had an error in it.



    import java.io.*;

    public class ArrayFiles {

    public static void main(String[]...
  2. Re: Having trouble reading in a text file with integers..keep getting NumberFormatEx?

    I thought about this a few minutes ago, but I'm having trouble implementing it. I checked the Java API and so since my string str is reading in the whole line of numbers into that string, I need to...
  3. Having trouble reading in a text file with integers..keep getting NumberFormatEx?

    I'm supposed to be reading in a text file with numbers that are scores. In the text file it's put like this 88 98 95 45 65 23 etc etc.

    This is my code so far below.



    import java.io.*;
    ...
Results 1 to 3 of 3