[quote=引用 2 楼 xiaobai_8001 的回复:] //获取输入框内容 CString strText; GetDlgItem(IDC_EDIT1)->GetWindowText(strText); //合法行判断 //... //转换成double double fVal = _ttof(strText);
TCHAR szVal[128+1] = {0}; GetWindowText(m_hEditWnd, szVal, 128);
//获取输入框内容 CString strText; GetDlgItem(IDC_EDIT1)->GetWindowText(strText); //合法行判断 //... //转换成double double fVal = _ttof(strText);
15,976
社区成员
115,866
社区内容
加载中
试试用AI创作助手写篇文章吧