How would I accomplish bit shifting in VB?
Something like
char i = 16;
cout << (i >> 1); - 8
cout << (i << 1); - 32
Thanks,
Printable View
How would I accomplish bit shifting in VB?
Something like
char i = 16;
cout << (i >> 1); - 8
cout << (i << 1); - 32
Thanks,
Times by two or divide by two.
Doh, makes sense. he he he.
Thanks,
There can be a problem with it overflowing though.
Heh.