-=> Propably Rick Bischoff wrote to All <=-
Hello Rick!
RB> Does anyone know how to declare a variable that holds only one bit of
RB> information.. (You know only two values (0 or 1)) ???
That's easy but it will always take one byte of memory. just use normal char
variable. When it's 0 then the bit is off and when it's 1 then bit is on
(0=00000000 1=00000001 2=00000010 3=00000011...).
RB> Thanks..
/* Sir Robin - Falling Star Productions **
** http://www.cedunet.com/~jsaksa ......*/
... I went to an optician who also does c++ - he sold me some NEW CLASSES!
--- BBBS/2 v3.33 How-C
---------------
* Origin: Cat-Box - 02-4841086 (2:222/120)
|