Espaces de noms
Variantes
Affichages
Actions

cpp/string/byte/strcpy : Différence entre versions

De cppreference.com
< cpp‎ | string‎ | byte
m (1 version : Translate from the English version)
m (r2.7.3) (robot Ajoute : de, en, es, it, ja, pt, ru, tr, zh)
Ligne 32 : Ligne 32 :
 
{{dcl list see c | c/string/byte/strcpy}}
 
{{dcl list see c | c/string/byte/strcpy}}
 
{{dcl list end}}
 
{{dcl list end}}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +

Version du 2 novembre 2012 à 17:18

 
 
Bibliothèque de chaînes de caractères
Chaînes à zéro terminal
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Les chaînes d'octets
Chaines multi-octets
Les chaînes étendues
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
Chaînes d'octets à zéro terminal
Fonctions
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulation caractère
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversion aux formats numériques
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
La manipulation de chaînes
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strcpy
strncpy
strcat
strncat
strxfrm
Examen chaîne
Original:
String examination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulation de la mémoire
Original:
Memory manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memchr
memcmp
memset
memcpy
memmove
Divers
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strerror
 
Déclaré dans l'en-tête <cstring>
char *strcpy( char *dest, const char *src );
Copie la chaîne pointée par octet src de chaîne d'octets, pointé par 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.
Si les cordes se chevauchent, le comportement est indéfini .
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.

Sommaire

Paramètres

dest -
pointeur vers la chaîne d'octets à copier
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 -
pointeur vers la chaîne d'octets terminée par NULL à copier
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.

Retourne la valeur

dest

Exemple

Voir aussi

Modèle:cpp/string/byte/dcl list strncpyModèle:cpp/string/byte/dcl list memcpy
C documentation for strcpy