摘要: cstring 转 intunsigned int usAge = (unsigned int)_ttoi((CString)m_pEditAge->GetText());int 转 cstring例如:unsigned int usAge = (unsigned int)_ttoi((CString)m_pEditAge->GetText());方法一 char chDuf[4] = "";//这里的chDuf[]数组的元素个数要比字符串个数大CString strage;_itoa_s(usAge, chDuf, 10); //参数10是代表转换成十进制数s 阅读全文
posted @ 2014-03-14 14:11 言止予思 阅读(354) 评论(0) 推荐(0) 编辑