1) If you use ReadString to read in a line of text, you need to
tokenize the CString into fields (if you use standard ifstream
to read in, it can automatically do this).
2) old versions of VC++ do not define operator << for CString.
cast to LPCTSTR
Code:cout << (LPCTSTR)field1; // non unicode wcout << (LPCTSTR)field1; // unicode




Reply With Quote