◐ Shell
clean mode source ↗

std::wmemchr - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Definido en el archivo de encabezado <cwchar>

const wchar_t* wmemchr( const wchar_t* ptr, wchar_t ch, std::size_t count );

      wchar_t* wmemchr( wchar_t* ptr, wchar_t ch, std::size_t count );

Localiza la primera aparición de ch carácter amplio en los primeros count caracteres anchos del objeto apuntado por ptr .

Original:

Locates the first occurrence of wide character ch in the initial count wide characters of the object pointed to by ptr.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

ptr -

puntero al objeto a examinar

Original:

pointer to the object to be examined

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

ch -

carácter ancho a buscar

Original:

wide character 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.

count -

número de caracteres a examinar

Original:

number of characters to examine

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

Puntero a la posición del carácter, o NULL si no se encuentra dicho carácter .

Original:

Pointer to the location of the character, or NULL if no such character is found.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ejemplo

Ver también