Hi!
How can i convert a char (mychar[24]) to a CString
please help me
Printable View
Hi!
How can i convert a char (mychar[24]) to a CString
please help me
CString str(myChar).
or
CString str;
str = CString(myChar);
regards
xiaolong wu
char ch[24];
CString str;
..
..
str.Format("%s",ch);
..
Hello World!!!
CString Str;
char dStr[25] = "Blah";
Str = dStr;
strcpy(mychar, mystring);
//thats all!!!!
ty