winCE下字符串转换为double类型

1 CString str;
2 double pos;
3 TCHAR* strTmp;//临时(无用?)
4 GetDlgItem(IDC_EDIT1)->GetWindowText(str);
5 pos = wcstod(str,&strTmp);

 

posted @ 2013-09-14 15:15  ONWAYO  阅读(102)  评论(0编辑  收藏  举报