[ Web Proxy ]
URL:
Viewing: http://es.cppreference.com/cpp/string/byte/strcspn [Back]  [Original]

std::strcspn - cppreference.com
cppreference.com
Espacios de nombres
Variantes

std::strcspn

De cppreference.com
 
 
 
Cadenas de bytes terminadas en nulo
Funciones
Manipulacin de caracteres
Conversiones a formatos numricos
(C++11)(C++11)
(C++11)(C++11)
Manipulacin de cadenas
Examinacin de cadenas
Manipulacin de memoria
Miscelneos
 
Definido en el archivo de encabezado <cstring>
size_t strcspn( const char *dest, const char *src );
Devuelve la longitud del segmento inicial mxima de la cadena de bytes que apunta dest, que consta de slo los caracteres no se encuentra en cadena byte apuntado por src .
Original:
Returns the length of the maximum initial segment of the byte string pointed to by dest, that consists of only the characters not found in byte 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.

Parmetros

dest -
puntero a la cadena de bytes de terminacin nula a analizar
Original:
pointer to the null-terminated byte 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 -
puntero a la cadena de bytes terminada en cero que contiene los caracteres que desea buscar
Original:
pointer to the null-terminated byte 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.

Valor de retorno

La longitud del segmento inicial mximo que slo contiene caracteres que no se encuentran en la cadena de bytes indicada por src
Original:
The length of the maximum initial segment that contains only characters not found in the byte 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.

Ejemplo

Ver tambin

Devuelve la longitud del segmento inicial mximo que consiste
de slo los caracteres que se encuentran en otra cadena de bytes
(funcin) [editar]
Encuentra la primera ubicacin de cualquier carcter en una cadena, en otra cadena
(funcin) [editar]
Documentacin de C para strcspn

Web Proxy Viewer  |  New URL  |  Original Page