Re: what you can do with bitfields

Liste des GroupesRevenir à cl c  
Sujet : Re: what you can do with bitfields
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.c
Date : 29. Nov 2024, 03:46:17
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vib9tp$q0vu$2@dont-email.me>
References : 1
User-Agent : Pan/0.161 (Chasiv Yar; )
On Thu, 28 Nov 2024 14:39:43 +0100, fir wrote:

i use them but i never fully chcked what i can do with them ...

One problem with C is that bitfields can only have static offsets and
sizes. If these were dynamic, you could express much more powerful
manipulations more conveniently than with shifting and masking.

Date Sujet#  Auteur
28 Nov 24 * what you can do with bitfields5fir
29 Nov 24 `* Re: what you can do with bitfields4Lawrence D'Oliveiro
30 Nov 24  `* Re: what you can do with bitfields3fir
30 Nov 24   `* Re: what you can do with bitfields2BGB
1 Dec 24    `- Re: what you can do with bitfields1fir

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal