📜  cstring 到字符串 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:57.848000             🧑  作者: Mango

代码示例1
CString cs ("Hello");
// Convert a TCHAR string to a LPCSTR
CT2CA pszConvertedAnsiString (cs);
// construct a std::string using the LPCSTR input
std::string strStd (pszConvertedAnsiString);