std::strlen
De cppreference.com
| 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.
You can help to correct and verify the translation. Click here for instructions.
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. |
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.
You can help to correct and verify the translation. Click here for instructions.
Ejemplo
| Esta sección está incompleta Razón: sin ejemplo |
