hope this is the right place to post!
My question is i have a text file with 10 lines, each line has different parts eg name, age, height etc, want i want to do is create an array so each line has its own array 'box'
line one of the text file goes into array position 0
line two goes into array position 1
Any help would be great!
Standard homework problem... The easiest way to start this is probably to just start it -- don't worry about the design or optimizing it, etc.
Do you know how to open and read files? Do you know how create arrays? Do you learned to do loops yet? Take a shot at the assignment, but make sure to read up on files, arrays, and loops, from your text book, if you get confused.