#include <sstream>
int => std::string;
int nValue = 22;
std::ostringstream stom;
stom<<nValue;
std::string strTemp = stom.str();
CString => std::string;
CString strValue = _T("aaa");
CT2CA pszca(strValue)
std::string strStringTemp(pszca);
std::string => CString;
std::string strData;
CString strTemp = CString(strData.c_str());
'먹고 사는 일 > VC++' 카테고리의 다른 글
CScrollView 생성 (0) | 2010.06.25 |
---|---|
CListctrl 라인간격(높이) 조절 (0) | 2010.04.22 |
MacAddress 가져오기 (0) | 2010.02.25 |
메모리 leaks (0) | 2010.02.17 |
GDI+ 사용 (0) | 2010.02.17 |