J
jerry
Hi,
How to convert from CString to stl string?
i wrote some codes as below:
CString Temp = "This is a test";
string Str = Temp;
they 's an error when i compile it, it says:
error C2440: 'initializing' : cannot convert from 'CString' to
'std::basic_string<_Elem,_Traits,_Ax>'
could you give me a solution ? thankyou
How to convert from CString to stl string?
i wrote some codes as below:
CString Temp = "This is a test";
string Str = Temp;
they 's an error when i compile it, it says:
error C2440: 'initializing' : cannot convert from 'CString' to
'std::basic_string<_Elem,_Traits,_Ax>'
could you give me a solution ? thankyou