文件名称:strconv
介绍说明--下载内容均来自于网络,请自行研究使用
如何在各种字符串类型之间进行转换
本主题演示如何将各种 Visual C++ 字符串类型转换为其他字符串。 可以转换的字符串类型包括 char *、wchar_t*、_bstr_t、CComBSTR、CString、basic_string 和 System.String。 在所有情况下,在将字符串转换为新类型时,都会创建字符串的副本。 对新字符串进行的任何更改都不会影响原始字符串,反之亦然。 -How to: Convert Between Various String Types
This topic demonstrates how to convert various Visual C++ string types into other strings. The strings types that are covered include char*, wchar_t*, _bstr_t, CComBSTR, CString, basic_string, and System.String. In all cases, a copy of the string is made when converted to the new type. Any changes made to the new string will not affect the original string, and vice versa.
本主题演示如何将各种 Visual C++ 字符串类型转换为其他字符串。 可以转换的字符串类型包括 char *、wchar_t*、_bstr_t、CComBSTR、CString、basic_string 和 System.String。 在所有情况下,在将字符串转换为新类型时,都会创建字符串的副本。 对新字符串进行的任何更改都不会影响原始字符串,反之亦然。 -How to: Convert Between Various String Types
This topic demonstrates how to convert various Visual C++ string types into other strings. The strings types that are covered include char*, wchar_t*, _bstr_t, CComBSTR, CString, basic_string, and System.String. In all cases, a copy of the string is made when converted to the new type. Any changes made to the new string will not affect the original string, and vice versa.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
strconv.cpp