CString與string相互轉換

CString轉string 例子:spa CString strMfc = "test"; std::string strStr; strStr = strMfc.GetBuffer(0); string轉CString 例子: CString strMfc; string strStr = "test"; strMfc = strStr.c_str();
相關文章
相關標籤/搜索