January 29th, 2013, 05:54 PM
Array help from input file
This is my specification:
Sample input file:
I need to store these data into an array so that I can carry on with the rest of the specification:
January 29th, 2013, 07:09 PM
And your question is?
This forum is not a homework service. Show us your code, tell us expected output and the perceived output, and the steps you took to solve the problem, and we will he happy to help.
In case you do want us to fix your homework I would challenge you to hand in our name as the authors.
January 29th, 2013, 07:19 PM
I guess I didn't phrase it well. Before I continued with the final bit of the specification, I noted where I needed to end up with the file read. So basically, how do I get the lines from the text into a usable array to help me get to where I need to go? All I have set up in my code before running out of ideas is setting up all the new File and Scanner statements for the file input, but I'm not sure how to get the nextLine() into the usable array.
Sorry if you felt as if I was trying to have it done for me, I just worded it weirdly in my frustration.