Creating Arrays Using BufferedReader
Author |
Message |
Grade11
|
Posted: Wed Jun 11, 2014 9:36 pm Post subject: Creating Arrays Using BufferedReader |
|
|
Hello all, I've got a major assignment due by the end of the week and it's frustrating me. I'm using a BufferedReader to read from a file and I'm trying to read/import them to arrays but they're being read as null. I don't know what I'm doing wrong!
I'm using ready to program with the HSA console by the way. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Wed Jun 11, 2014 10:30 pm Post subject: RE:Creating Arrays Using BufferedReader |
|
|
What if you print values to screen, instead of saving it in array. Is it still null? Showing the relevant lines of code would be useful. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Thu Jun 12, 2014 11:42 am Post subject: RE:Creating Arrays Using BufferedReader |
|
|
Indeed. Show the code. |
|
|
|
|
![](images/spacer.gif) |
|
|