std::string <-> CString 변환

300x250

std::string -> CString 변환

#include <string>

std::string str;
CString cstr(str.c_str());

 

 

CString -> std::string 변환

#include <string>

CString c_str = _T("Test");
std::string str = CT2CA(c_str);
300x250

댓글()