Have a look at CStdioFile. This inherits from CFile and allows you to use ReadString() or WriteString() to read/write a single line of text. To separate the fields within a single line, you can use CString functions Find(), Mid(), Left() and Right()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.