字符串类型转换整理(char、TCHAR、string、wstring、CString、WCHAR)
[TOC]
string <–> CString
string -> CString
1 |
|
CString -> string
1 |
|
string < – > wstring
string -> wstring
solution 1:
1 |
|
solution 2:
1 |
|
wstring -> string
1 |
|
DWORD <—> string
1 |
|
1 |
|
更多查看已实现的编码转换文件:
字符串类型转换整理(char、TCHAR、string、wstring、CString、WCHAR)
https://hodlyounger.github.io/2023/10/27/B_Code/CPP/【CPP】字符串类型相互转换/