PlasmaZero
Programmer
Hello, I'm making an app which requires the ability to read a single line of text from an external .txt file, use the line, and then grab the next line.
So, is there some sort of GetLine function that you can use with CFile, like myFile.GetLine(buffer)?
If not, is there a way to determine the end of a line when using the Read function, such as
myFile.Read(buffer, chars);
CString temp = buffer;
if (temp.mid(i,1) = ???)
Thanks for your time
So, is there some sort of GetLine function that you can use with CFile, like myFile.GetLine(buffer)?
If not, is there a way to determine the end of a line when using the Read function, such as
myFile.Read(buffer, chars);
CString temp = buffer;
if (temp.mid(i,1) = ???)
Thanks for your time