Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Replies
    12
    Views
    2,543

    Re: Reading data from a file into parallel arrays

    Are there any error messages when the program is executed?

    The posted code is still reading TWO lines every time it goes around the loop.
    It should get an error on the 19th time around if the...
  2. Replies
    12
    Views
    2,543

    Re: Reading data from a file into parallel arrays

    With the nested loops, it should try to loop 36*36 times.

    Are there any error messages when the program executes?
  3. Replies
    12
    Views
    2,543

    Re: Reading data from a file into parallel arrays

    Think about this problem and what the code is doing.
    What happens to the data following the "1" on the first line?
  4. Replies
    12
    Views
    2,543

    Re: Reading data from a file into parallel arrays

    Did you miss this part of my last post?
    A new line is read each time the nextLine() method is called.

    Look at the code and see how it reads lines from the file and see what it does with each line...
  5. Replies
    12
    Views
    2,543

    Re: Reading data from a file into parallel arrays

    A new line is read each time the nextLine() method is called. Is the code doing what you want?

    What should the output look like?
    What is wrong with what is printed?

    Please edit your post and...
Results 1 to 5 of 5