wcsxfrm
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <wchar.h> 中定义
|
||
null结尾的宽指向的字符串变换
src根据当前的语言环境和count宽字符转换后的字符串复制到目的地,返回它的长度.原文:
Transforms the null-terminated wide string pointed to by
src according to the current locale and copies the first count wide characters of the transformed string to destination, returning its length.另外,该功能可用于检索的长度,通过指定一个空指针
dest和0count.原文:
Alternatively, the function can be used to only retrieve the length, by specifying a null pointer for
dest and 0 for count.目录 |
[编辑] 参数
| dest | - | 复制变换后的字符串的字符的字符串的指针
原文: pointer to the character string to copy the transformed string to |
| src | - | 指针指向空字符结尾的字符串转换
原文: pointer to the null-terminated character string to transform |
| count | - | 转换的字符的最大数量
原文: maximum number of characters to transform |
[编辑] 返回值
转化的宽字符串的长度,不包括终止空字符.
原文:
The length of the transformed wide string, not including the terminating null-character.
[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| C++ documentation for wcsxfrm
|