searching large file using char

May 21, 2012 at 6:02pm
I'm looking to read data from an xml or txt file that is upwards of 50Mb. However I am unclear how I should copy segments of data to the char so that I can do it in sections. Would getline(ftream, char) get a specific line? if i execute it multiple times will each successive time be another line? Thank you
May 21, 2012 at 6:26pm
As long as you have not closed and re-opened the stream, each call to getline() reads a new line from the stream.
Topic archived. No new replies allowed.