Search:

Type: Posts; User: KristopherP

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Reading from a file and storing to array's. Names are working but numbers are not

    Sorry that was just meant to imply that I was printing index 0 of the array's. When I went back to check the code I seen that I was trying to print a [] array when they were [][]. I made the change...
  2. [SOLVED] Reading from a file and storing to array's. Names are working but numbers are not

    I am trying to copy the contents of a file into an array.
    The contents of the file is
    John X Doe 4.0 6 8.2 9

    I had some typos and it would not read the names. Now I got the names storing to an...
  3. [SOLVED] Re: Copying a file to an array and getting exception thrown for input

    Instructor gave us an assignment to do which was the final for her CS1 class. I did not have this instructor and did not learn StringTokenizer or String.split() in my CS1 class. StringTokenizer...
  4. [SOLVED] Copying a file to an array and getting exception thrown for input

    I am trying to copy the contents of a file into an array.
    The contents of the file is
    John X Doe 4.0 6 8.2 9

    The code the instructor wrote on the board. I inputted it and when trying to run I...
Results 1 to 4 of 4