Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

affichage unsigned int

2 réponses
Avatar
matt
Bonjour,

Juste une petite question :

pour afficher un unsigned long je fais printf("%lu", ulToto);
pour afficher un unsigned int, comment fais-je ? (%d ?)

Merci pour vos réponses,

Matt...

2 réponses

Avatar
Pierre Maurette
Bonjour,

Juste une petite question :

pour afficher un unsigned long je fais printf("%lu", ulToto);
pour afficher un unsigned int, comment fais-je ? (%d ?)


%u

Notez que /unsigned int/ et /unsigned/, c'est kif kif

--
Pierre Maurette

Avatar
matt
Bonjour,

Juste une petite question :

pour afficher un unsigned long je fais printf("%lu", ulToto);
pour afficher un unsigned int, comment fais-je ? (%d ?)

Merci pour vos réponses,

Matt...


Merci (encore) pour vos réponses (rapides),

Matt...