◐ Shell
clean mode source ↗

std::strcat - 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 <cstring>

char *strcat( char *dest, const char *src );

Anexa una cadena de bytes que apunta a una cadena src byte apuntado por dest. La cadena de bytes resultante es terminada en nulo. Si las cadenas se superponen, el comportamiento no está definido .

Original:

Appends a byte string pointed to by src to a byte string pointed to by dest. The resulting byte string is null-terminated. If the strings overlap, the behavior is undefined.

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

Parámetros

dest -

puntero a la cadena de bytes terminada en cero para anexar

Original:

pointer to the null-terminated byte string to append to

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 terminada en null byte a copiar

Original:

pointer to the null-terminated byte string to copy from

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

dest

Ejemplo

Ver también