Espacios de nombres
Variantes
Acciones

std::strlen

De cppreference.com
< cpp‎ | string‎ | byte
 
 
 
 
Definido en el archivo de encabezado <cstring>
size_t strlen(char*str );
Devuelve la longitud de la cadena de bytes dado .
Original:
Returns the length of the given byte string.
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

str -
puntero a la cadena de bytes de terminación nula a examinar
Original:
pointer to the null-terminated byte string 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.

[editar]Valor de retorno

La longitud de la cadena terminada en nulo str .
Original:
The length of the null-terminated string str.
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

close