Cstring转换成double
CString csString = _T("1.25666");char szANSIString ;
WideCharToMultiByte ( CP_ACP, WC_COMPOSITECHECK, csString,
-1, szANSIString, sizeof(szANSIString), NULL, NULL );
double dValue = atof( szANSIString );
f74107 发表于 2011-11-3 10:29 static/image/common/back.gif
_wtof用这个 一个函数 非常方便
_wtof这个函数还真没用过
感谢分享 呵呵 谢谢您的指点
页:
[1]