C++数据类型转变

1、CString类型转变为double类型 

字符集:使用多字节字符集    用atof  

例:

CString str;

double a = atof(str);

字符集:使用 Unicode 字符集  用_wtof

posted @ 2013-12-16 11:11  ONWAYO  阅读(180)  评论(0编辑  收藏  举报