📜  将字符串转换为 TCHAR - 无论代码示例

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

代码示例1
std::string txt = "some content";
TCHAR* val = (TCHAR*)target.c_str();
or
TCHAR val = (TCHAR)target.c_str();