std::wcscspn

来自cppreference.com

 
 
字符串库
null结尾的字符串
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
字节的字符串
多字节字符串
宽字符串
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
NULL结尾的宽字符串
功能
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
字符操作
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
转换为数字格式
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
字符串操作
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
数组操作
Original:
Array manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
wmemcpy
wmemmove
wmemcmp
wmemchr
wmemset
 
Defined in header <cwchar>
std::size_t wcscspn( const wchar_t* dest, const wchar_t* src );
。返回起始段宽字符串的最大长度指出dest包含的字符宽字符串所指向的src.
Original:
Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters not found in wide string pointed to by src.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 。参数。

dest -
。 null结尾的宽字符串的指针进行分析。
Original:
pointer to the null-terminated wide string to be analyzed
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
src -
。指针null结尾的的宽字符串包含的字符进行搜索。
Original:
pointer to the null-terminated wide string that contains the characters to search for
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

===。 返回值。===

。最大的起始段,只包含未找到的字符中的字符串所指向src的长度。
Original:
The length of the maximum initial segment that contains only characters not found in the character string pointed to by src
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 。为例。

[编辑] 。另请参阅。

返回的长度的最大的初始段,由
只有宽字符宽字符串在另一个发现
Original:
returns the length of the maximum initial segment that consists
of only the wide characters found in another wide string
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(函数) [edit]
发现任何宽字符的第一个位置,在一个宽的字符串,在另一个宽字符串
Original:
finds the first location of any wide character in one wide string, in another wide string
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(函数) [edit]
C documentation for wcscspn