Ombitious_Developper
Messages postés2333Date d'inscriptionsamedi 28 février 2004StatutMembreDernière intervention26 juillet 201338 18 nov. 2006 à 23:56
Salut:
Il y a plusieurs façons:
1. chaine -> nombre
fonction : atoi int n = atoi ("123");
2. nombre -> chaine
fonction : itoa
char string [12];
itoa (123, string, 10);
fonction : sprintf
char string [12];
int n = 1982;
sprintf (string, "%i", n);