How to reverse bits...
Bob Goudreau
goudreau at larrybud.rtp.dg.com
Wed Aug 15 09:30:09 AEST 1990
In article <46356 at ism780c.isc.com>, news at ism780c.isc.com (News system) writes:
>
> Reversing the bits in a char variable is tricky to say the least. The C
> language does not specify the number of bits in a char variable.
What's wrong with using CHAR_BIT, which ANSI requires to be
#defined in <limits.h>?
------------------------------------------------------------------------
Bob Goudreau +1 919 248 6231
Data General Corporation
62 Alexander Drive goudreau at dg-rtp.dg.com
Research Triangle Park, NC 27709 ...!mcnc!rti!xyzzy!goudreau
USA
More information about the Comp.lang.c
mailing list