Return to Website

C++ / VC++ / MFC Discussion Forum

Welcome to the forum. Now, you can use HTML in your posts too.

C++ / VC++ / MFC Discussion Forum
Start a New Topic 
Author
Comment
View Entire Thread
Re: Need help about string convert from CString to char point

Hi friend,
Try this,
CString str = "Hi friend";
char str2[100];
strcpy(str2,(LPCTSTR)str);

also include

bye