lundi 30 décembre 2019

C language

scanf("%[^\n]%*c", s);
-> permet de récup une ligne en C jusqu'au retour charriot.
Attention à foutre un scanf("/n"); après sinon ça marchera plus.

Aucun commentaire:

Membres