CString str("I am trying!");
char *p = str.GetBuffer(str.GetLength());
/*在使用完p指针后,然后释放*/
str.ReleaseBuffer();
CString转char*
最新推荐文章于 2023-02-24 19:42:34 发布
CString str("I am trying!");
char *p = str.GetBuffer(str.GetLength());
/*在使用完p指针后,然后释放*/
str.ReleaseBuffer();