Path: utzoo!attcan!uunet!mcsun!ukc!strath-cs!rmacgreg From: rmacgreg@cs.strath.ac.uk (Sorcerer) Newsgroups: comp.lang.c Subject: Re: more that 32 flag array testing Keywords: boolean,testing,bits Message-ID: <4811@baird.cs.strath.ac.uk> Date: 10 Oct 90 10:18:43 GMT References: <1990Oct8.165154.26747@vitro.uucp> Distribution: comp Organization: Comp. Sci. Dept., Strathclyde Univ., Scotland. Lines: 14 I don't know if this will work, never having tried it myself, but C allows for bitfields in structs. Normally these are just a couple of bits, but I see no reason why you couldn't define a bitfield to be 100 bits long. There has to be a problem with this as it sounds to simple, but you never know... :-) ___ _____ / (rmacgreg @ uk.ac.strath.cs) | |__ __ /___ ___ ___ ___ ___ ___ ___ ___ | | | |__| / / / / / / /__/ / / /__/ / / | | | |__ ___/ /__/ / /__ /__ / /__ / is 'Only visiting this planet.'