strcpy
Da cppreference.com.
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <string.h> | ||
char*strcpy(char*dest, constchar*src ); | ||
Copia la stringa di byte puntato da
src
alla stringa di byte, puntata da dest
.Original:
Copies the byte string pointed to by
src
to byte string, 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.
You can help to correct and verify the translation. Click here for instructions.
Se le stringhe si sovrappongono, il comportamento non è definito.
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.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica]Parametri
dest | - | puntatore alla stringa di byte da copiare Original: pointer to the byte string 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 | - | puntatore alla stringa con terminazione null byte da cui copiare 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. |
[modifica]Valore di ritorno
dest
[modifica]Esempio
This section is incomplete Reason: no example |
[modifica]Vedi anche
copia un certo numero di caratteri da una stringa ad un altro Original: copies a certain amount of characters from one string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
copia un buffer all'altro Original: copies one buffer to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
C++ documentation for strcpy |