• Advertisement

Archived

This topic is now archived and is closed to further replies.

CString file io?

This topic is 5619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

iunder stand alot of code but i don''t know how to do file io using CString i want to do secutal file accses not ini but i can''t find a tutoral anywhere or even if any knows how to go from basic string to CString; not char to CString

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
....

Share this post


Link to post
Share on other sites
Is this what you seek?

  
std::string str1("natas");
CString str2(str1.c_str(), str1.size());

Share this post


Link to post
Share on other sites

  • Advertisement