Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    15
    Views
    1,440

    Re: text file array help

    It looks like this assignment is way past your current java knowledge. There are lots of basic java coding rules that are a problem for you.
    For example:
    replacing a statement that reads data...
  2. Replies
    15
    Views
    1,440

    Re: text file array help

    The println() method does NOT read data. The code in post#9 has the code in the readFile() method that will read the contents of the file and save it in the array. AFTER that method is done filling...
  3. Replies
    15
    Views
    1,440

    Re: text file array help

    To get this code to work, you need to spend some time figuring out what it does so you can modify it to do what you want it to do.
    One question is: Does the existing code read the data in the...
  4. Replies
    15
    Views
    1,440

    Re: text file array help

    Posts merged.
    Did you do what I suggested in post#8?
  5. Replies
    15
    Views
    1,440

    Re: text file array help

    Have you tested the code that reads in the file to see that the numbers are getting into the 2D array?
    The Arrays class's deepToString() method will format a 2D array for printing:...
  6. Replies
    15
    Views
    1,440

    Re: text file array help

    The posted code does not compile without errors.
    Please fix the errors and post new code
    or post the error messages you are having problems with.
  7. Replies
    15
    Views
    1,440

    Re: text file array help

    What does "isn't working" mean? How is the txt file supposed to be displayed?
  8. Replies
    15
    Views
    1,440

    Re: text file array help

    Duplicate posts merged.

    Do you have a specific question about the assignment and the problems you are having.
Results 1 to 8 of 8