◐ Shell
clean mode source ↗

std::wcscpy - 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 <cwchar>

wchar_t *wcscpy( wchar_t *dest, const wchar_t *src );

Copia la cadena apuntada por amplia src (incluyendo el carácter ancho terminador nulo) a la matriz de caracteres anchos apuntada por dest .

Original:

Copies the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest.

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

Si las cadenas se superponen, el comportamiento no está definido .

Original:

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 al array de caracteres anchos a copiar

Original:

pointer to the wide character array to copy 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 nulo todo va a copiar

Original:

pointer to the null-terminated wide 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