array of bits field

Henry Spencer henry at utzoo.uucp
Tue Feb 13 15:40:47 AEST 1990


In article <1990Feb12.182517.10921 at cubmol.bio.columbia.edu> ping at cubmol.bio.columbia.edu (Shiping Zhang) writes:
>Is there a way to define an array of bits field which are tightly packed?

No.  You have to do the bit-fiddling yourself.  The smallest unit of
storage which is a "first class citizen" in C is the byte.
-- 
"The N in NFS stands for Not, |     Henry Spencer at U of Toronto Zoology
or Need, or perhaps Nightmare"| uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list