CString到char*


CString 字符串;

//CString到char*
CStringA tmp;
tmp = str;
char * p = tmp.GetBuffer();