How do you read a specific part of a file, for example a file with on the 5th line it has age and you just want to get the age not anything else.
any examples would be great
thank you
How do you read a specific part of a file, for example a file with on the 5th line it has age and you just want to get the age not anything else.
any examples would be great
thank you
Dev C++
Win XP/2k/98
I DO NOT TAKE CLASSES I DONT GET HOMEWORK THIS IS NOT A HOMEWORK QUESTION!!!
He's lean he's keen... He's the spank machine!
One solution is to keep track of the total lines you read in. Another solution is to keep track of "\n" you read in.
Kuphryn