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
相關文章
相關標籤/搜索