double m;
CString str=new CString("1.093");
//VS2008环境下:
m=_tstof((LPCTSTR)str);
//vc++6.0环境下:
m=atof((char *)(LPTSTR)(LPCTSTR)str);
double m;
CString str=new CString("1.093");
//VS2008环境下:
m=_tstof((LPCTSTR)str);
//vc++6.0环境下:
m=atof((char *)(LPTSTR)(LPCTSTR)str);