Programming/C++
[C++] Convert CStirng to const char*
비만오리
2020. 5. 20. 11:24
1. CString to const char*
CString strText = _T("myStirng");
const char* ccText;
ccText = (CStringA)strText;
2. const char* to CString
const char* ccText = "myString";
CString strText;
ccText = (CString)strText;
반응형