Hi, i was wondering what would be the best way of reading a single line from a text file?
For example, i have a file that contains the following data:
dog
cat
bird
deer
How can i read the 3rd line of the file? I was thinking that i would have to store each line in a array and just calling it by the number in that array.
The other question I had was, how can i print to the end of a text file? without disturbing the text data that is already there?
Thanks in advance, Guy Od