标签:length bsp ring get 相互 hello cst 相互转换 har
Char -> CString
char ch[] = "Hello";
CString str;
str.Format("%s",ch);
CString ->Char
char ch[6] ;
CString str = "Hello";
memcpy(ch,str.GetBuffer(str.GetLength()),6);
标签:length bsp ring get 相互 hello cst 相互转换 har
原文地址:http://www.cnblogs.com/smh2015/p/6385614.html