What is the best way to read text files ?
Posted on 1998-10-31
Asked that question long times ago,
and got the answer to do it with CStdioFile something like this:
But there is always a very disturbing \n linefeed-sign at the end of each line.
So I tried it with CArchive::ReadString something like this:
and so on, but with some texts I got problem, ReadString returned an error.
So is there a more easier way to read text files, that I didn't know and that I should try ?