From: Leon AT caresystems DOT com DOT au To: djgpp AT delorie DOT com Date: Thu, 29 Jun 2000 14:42:57 +1000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Bits Message-ID: <395B6071.19052.12454BB@localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 29 Jun 2000, at 3:56, Sean Proctor wrote: > ch; char bits1 = ch >> 7; > > I believe that works... > only on systems where 1 byte=8 bits (not always indeed) the C strandard guarantees the sizeof(char) be always 1 byte BUT there is no C strandard to guarantee that 1 byte is always made up from 8 bits. With best regards - Leon.