반응형 CString to char1 [C++/MFC] 문자열 변환, CString to char Cpp File CString str = "CString to char"; int length = str.GetLength(); char* pChr = new char[length]; strcpy(pChr, str.GetBuffer(0)); delete[] pChr; pChr = NULL; 2022. 10. 17. 이전 1 다음 반응형