Nevertheless, it's still the best approach. Getting and fixing errors is part of programming. Why are you passing a CStdilFile to your list? The compiler probably told you exactly what was wrong.
You're still just guessing and that still isn't working for you.
Last edited by GCDEF; March 25th, 2011 at 07:12 AM.
Hey, why not try CFile ? Cstdiofile is different from cfile
1. Yes. CStdioFile is different from CFile, however, it is derived from CFIle.
2. None of CFile methods takes CString as a parameter, however CStdioFile::ReadString and CStdioFile::WriteString do. And it is what OP needs!
Bookmarks