Search:

Type: Posts; User: angstrem

Search: Search took 0.12 seconds.

  1. Re: Reading the content of a file into 2 different structures

    You're welcome.
  2. Re: Reading the content of a file into 2 different structures

    If you need just to create a new array from a list, then you can use List.toArray(). If you need to merge an existing array with the list's contents, you can create a new list and dump everything...
  3. Re: Reading the content of a file into 2 different structures

    I'm not sure whether I've understood you correctly, but if you confused by the fact that each iteration of while loop creates it's own array, then you can just read all the file to a single string...
  4. Re: Reading the content of a file into 2 different structures

    What have you tried to do? Show the code and explain, why doesn't it work.
Results 1 to 4 of 4