Search:

Type: Posts; User: curmudgeon

Search: Search took 0.07 seconds.

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

    You're quite welcome, but please, keep your kisses to yourself.

    Also, do you see the problem with declaring and initializing the i variable *inside* of the while loop?
  2. Re: Reading into a File and storing it into an Array

    Your code would never work. You're getting the second item in the list by calling get(1) (remember lists are 0-based -- they start at 0), before a 2nd item has been added.

    Why won't my suggestion...
  3. Re: Reading into a File and storing it into an Array

    Your int variable i confuses me as you create it, initialize it, but never use it. You also create it inside of the loop, so it can't be used as an index variable if that was your purpose. You also...
Results 1 to 3 of 3