Hey sorry for making so many threads but I have SO many questions lol. Anyway heres the scoop. When you read from a file, is there any way that you can skip to the next line?
Because your file might be like this:
I've only learned to get EVERYTHING from a file. What if I want to get only a few things?
Heres an example:
Pretend I have a file that stores all my data (not very clever)
It has everything in this order:
My first and last name
My best friends phone number
My Library card number
My library pin
My favorite book
My favorite movie
So thats the file. How do I write a program that extracts...say...My E-mail, and my favorite movie. Thanks for the help xD