Cstring을 더블 형식으로 변환

CString str;

유니코드 인코딩인 경우: int:
int a = _wtoi(str.GetBuffer());

Double로 전환:
double b = _wtof(str.GetBuffer());

멀티바이트 인코딩인 경우: int와 더블 형식으로 각각:
int a = atoi(str.GetBuffer());
double b = atof(str.GetBuffer());

좋은 웹페이지 즐겨찾기