Search:

Type: Posts; User: loui345

Search: Search took 0.09 seconds.

  1. Re: Reading into a File and storing it into an Array

    can anyone tell me if I am in the right direction?
  2. Re: Reading into a File and storing it into an Array

    anyone have a suggestion?
  3. Re: Reading into a File and storing it into an Array

    Hi I made a lot of progress since I last posted this. Sometimes I realize that taking a few minute break and coming back I can see solutions that wasn't apparent initially. Unfortunately, for me a...
  4. Re: Reading into a File and storing it into an Array

    Okay, sorry about my vague post earlier it was 3:00am at the time and my mind wasn't functioning correctly. Anyhow, " You must store your Questions in an ArrayList and access the questions via...
  5. Re: Reading into a File and storing it into an Array

    Anyone have some suggestions?
  6. Re: Reading into a File and storing it into an Array

    I am not sure if you've more mental energy to solve another problem I have. See the whole problem I have is I am not actually a member of the school. I found the school and they leave the homework...
  7. Re: Reading into a File and storing it into an Array

    No, I don't see the problem?
  8. Re: Reading into a File and storing it into an Array

    Yes, you're 100 percent correct. I could kiss you. I forgot to i++, and you also pointed out when I was calling the ArrayList I needed to call it after the while loop. Because I forgot the...
  9. Re: Reading into a File and storing it into an Array

    No, that won't work. Any other ideas curmudgeon. Shouldn't it work? Is there an error on my understanding. It seems pretty straight forward.
  10. Re: Reading into a File and storing it into an Array

    When I was trying to store the file into the String
    String str = file.next(); that was throwing me an exception error. So I just used trial and error and
    sr = new Scanner(new...
  11. Re: Reading into a File and storing it into an Array

    I solved the problem I just made a new scanner and it worked perfectly. So if I understand this correctly, I need two different Scanner objects one for reading the file and seeing if it existed, and...
  12. Reading into a File and storing it into an Array

    Hello JavaWorld,

    I'm having trouble with this program. I don't understand why I am getting an exception thrown to me. I am successfully reading the file, and displaying it's contents on my...
Results 1 to 12 of 12