摘要:
CString转int:非Unicode环境CString str("1234");char *ch = str.GetBuffer(str.GetLength());int num = atoi(ch);str.ReleaseBuffer();int转CString:非Unicode环境CString str;int num = 1234;str.Format("%d",num);不建议使用(LPSTR)(LPCTSTR)这样的转换,不安全,错误率高。 阅读全文
posted @ 2012-12-11 21:11
pythonschool
阅读(344)
评论(0)
推荐(0)

浙公网安备 33010602011771号