i have one CString variable, and i have one file, about 600 characters, i try to put all the data file in the Cstring, my algorithm is :
CString strTemp;
while( ar.ReadString(strTemp) )
m_strFileBuffer += strTemp + _T(" ");
ar is CArchive.
Proble is that: when algorithm go few times throught 'ReadString' data readed in 'strTemp' are not aded to 'm_strFileBuffer'.
The data in strTemp is readed well, but it is not added in m_strFileBuffer.
Anyone can help with that : )
Thanks.