no save
Assistance
Achat
News

Forum | programmation
getchar() langage C
ptibenou, le mar. 08 mai 2007 à 13:21:31
bon essaye ça mais je suis pas sur de moi :

char username;
printf("donner le username:");
scanf("%s",username);
printf("%username");

tu déclarais le username comme un pointeur et pour ne pas sortir du programme il faut que tu code autre chose dérière car pour lui c'est fini donc il sort!
PrécédentLaZo61
mai 07
LaZo61
mai 07
Suivant
REPONSES
ptibenou
mai 07
LaZo61
mai 07
LaZo61
mai 07
ptibenou
mai 07
LaZo61
mai 07
ptibenou
mai 07
ptibenou
mai 07
LaZo61
mai 07
Version Web
Réalisé par RedShift
no save