CString strTemp; //CString ->string; string stringMsg = (LPCSTR)(CStringA)strTemp; //string -> CString strTemp= stringMsg.c_str();
时间: 2024-11-12 11:59:45
CString strTemp; //CString ->string; string stringMsg = (LPCSTR)(CStringA)strTemp; //string -> CString strTemp= stringMsg.c_str();