cs_hoGan
Messages postés20Date d'inscriptionsamedi 22 mai 2004StatutMembreDernière intervention 7 décembre 2005
-
1 nov. 2005 à 20:07
cs_hoGan
Messages postés20Date d'inscriptionsamedi 22 mai 2004StatutMembreDernière intervention 7 décembre 2005
-
1 nov. 2005 à 23:58
Bonjour,
j'ai un problème lorsque je veux convertir un char en string afin de
procéder à une concaténation (dans le cadre d'une fenêtre api). Le code
suivant ne fonctionne pas, et indique comme erreur "crosses
initialization of `std::string bind' "
BruNews
Messages postés21040Date d'inscriptionjeudi 23 janvier 2003StatutModérateurDernière intervention21 août 2019 1 nov. 2005 à 20:54
case ID_MAIN_BOUTON:
{
int n;
char texte[60]: // MULTIPLE DE 4
n = GetWindowText(main_list, texte, 50);
strcpy(texte + n, "huh");
SetWindowText(edit1, texte);
}