Opening files, reading each line into an array. AND Writing files.
Posted on 2003-02-25
I want to create a .txt file that has multiple lines of information. I want to read each line as an element in an array so I can use them in my program. I also would like to know how to WRITE data to a .txt file, whether each piece of info is it's own string or an element of an array (whatever is best, probably an array).
Please when you explain, explain what is going on so I can manipulate it as needed. I don't know what LOF does either, so if someone could explain I'd appreciate it. If there is a better way to read a file into an array than line by line, or a different file type that is BETTER to use for reading stuff, then that would be useful too. Thanks