Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: array of bits field Message-ID: <1990Feb13.044047.1027@utzoo.uucp> Organization: U of Toronto Zoology References: <2802@cunixc.cc.columbia.edu> <22287@mimsy.umd.edu> <7184@arcturus> <11961@frog.UUCP> <1990Feb12.182517.10921@cubmol.bio.columbia.edu> Date: Tue, 13 Feb 90 04:40:47 GMT In article <1990Feb12.182517.10921@cubmol.bio.columbia.edu> ping@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@zoo.toronto.edu