Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using _itoa or converting int to char
Message
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
Using _itoa or converting int to char
Divers
Thread ID:
00677359
Message ID:
00677359
Vues:
48
Hi, when i try to convert int to char with _itoa, dont work in my machine, exist a different way for do this job?

this is my code:

char szFile[12] = "";
char buffer[33];
int i = 0;
_itoa(i,buffer,10);
lstrcat( szFile, "portlog");
lstrcat( szFile, buffer);
lstrcat( szFile, ".dbf");
//lstrcpy(szFile,szFile);
AfxMessageBox(szFile);

thanks in advance

Regards

Francisco Morosini
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform