How do I convert from a CString to a character array.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ie:
char* string1;
CString string2("Hello");
/*
How would I go about putting Hello
into string1?
*/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Thanks,
Phil
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: Converting CStrings to char*Threaded View
|
Click Here to Expand Forum to Full Width |