J
Juha Kettunen
Hi
I don't know if I am using right words (bit-number), but this is what I
mean:
You can set a 64 bit number:
unsigned long a;
Now you can use binary operators to manipulate variable a (for example
a |= (unsigned long) 128
).
How about if I want to get for example a 640 bit long *one* number (say b)
and do the same binary operations to it (b |= 128)? I haven't found answer
for this ... do I need to use Bitfields:
struct BITS
{
unsigned long b1;
unsigned long b2;
unsigned long b3;
.... (10 times)
};
I don't know ...
I don't know if I am using right words (bit-number), but this is what I
mean:
You can set a 64 bit number:
unsigned long a;
Now you can use binary operators to manipulate variable a (for example
a |= (unsigned long) 128
).
How about if I want to get for example a 640 bit long *one* number (say b)
and do the same binary operations to it (b |= 128)? I haven't found answer
for this ... do I need to use Bitfields:
struct BITS
{
unsigned long b1;
unsigned long b2;
unsigned long b3;
.... (10 times)
};
I don't know ...