Bruno Berteau a écrit :

Merci Fabian,

Yes c'est presque ça. En fait c'est plutôt en divisant par 255 (ou FF en hexa) pour avoir l'octet de poids fort.
int(21E / FF)  = 2

[...]

Mea culpa tu avais raison Fabian.
J'ai été un peu trop vite.

--
Bruno Berteau
http://b.berteau.free.fr

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/linux@lists.unixtech.be
IRC: chat.unixtech.be:6667 - #unixtech
NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech

Répondre à