Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    1,413

    Re: Java Program with text file - Help!

    Look at the file in a hex editor to see what is between the numbers.


    Yes.
  2. Replies
    9
    Views
    1,413

    Re: Java Program with text file - Help!

    Are you sure? Do you have a hex editor that you can look at the file with to see what is in it?
  3. Replies
    9
    Views
    1,413

    Re: Java Program with text file - Help!

    That String can not be converted to a double. It needs to be split into separate tokens like: "9.2" and "9.3" which can be converted to double values.

    What character is between the numbers in...
  4. Replies
    9
    Views
    1,413

    Re: Java Program with text file - Help!

    Use the split() method after a line has been read from the file and before the code needs to access the data in the line. The split() method creates the array and fills it the the tokens that were...
Results 1 to 4 of 4