Espacios de nombres
Variantes
Acciones

std::strspn

De cppreference.com
< cpp‎ | string‎ | byte

 
 
Strings biblioteca
Terminadas en nulo
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.
Cadenas de bytes
Multibyte cuerdas
Cadenas anchas
Clases
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
 
Terminadas en nulo de bytes
Funciones
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
De manipulación de caracteres
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.
Las conversiones a formatos numéricos
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.
Cadena de manipulación
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.
strcpy
strncpy
strcat
strncat
strxfrm
Cadena examen
Original:
String examination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Memoria manipulación
Original:
Memory manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memchr
memcmp
memset
memcpy
memmove
Varios
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strerror
 
Defined in header <cstring>
size_t strspn( const char *dest, const char *src );
Devuelve la longitud del segmento inicial máxima de la cadena de bytes indicada por dest, que consta sólo de los caracteres que se encuentran en cadena de bytes indicada 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 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.

Contenido

[editar] Parámetros

dest -
puntero a la cadena de bytes de terminación 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.

[editar] Valor de retorno

La longitud del segmento inicial máxima que sólo contiene caracteres de la cadena byte apuntado por src
Original:
The length of the maximum initial segment that contains only characters from 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.

[editar] Ejemplo

[editar] Ver también

devuelve la longitud del segmento inicial máximo que consiste
de sólo los caracteres que no se encuentran en otra cadena de bytes
Original:
returns the length of the maximum initial segment that consists
of only the characters not found in another byte string
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [edit]
encuentra la primera ubicación de cualquier carácter en una cadena, en otra cadena
Original:
finds the first location of any character in one string, in another string
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [edit]
C documentation for strspn