C++ 中的 CString , string ,Qstring,LPCTSTR 等的转换方法

CString str = "sensor.ini"; LPTSTR lpPath =new TCHAR(str.GetLength()+1); lstrcpy(lpPath, str); CString ctmp; ctmp.Format(_T("%d"), Allow[0]); LPTSTR lptstr_tmp = new TCHAR(ctmp.GetLength() + 1); lstrc
相关文章
相关标签/搜索