reset password
Author Message
omizi
Posts: 22
Posted 12:39 Jan 31, 2014 |

How do you read in the text file into an array I haven't been able to do this since lab 1 please help

nahmed5
Posts: 57
Posted 15:12 Jan 31, 2014 |

Here's a link: http://www.java-forums.org/new-java/7001-reading-text-file-into-array.html 

I've actually followed this one for reading a text file: http://stackoverflow.com/questions/4716503/best-way-to-read-a-text-file

You have to change the codes according to your txt file.