Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How Do I...

Name: Anonymous 2008-08-29 13:31

...access individual bits in a byte in C++?

Name: Anonymous 2008-08-29 21:32

>>15
Yeah, fuck, you have a language with the comfort and power of a portable assembler (which is not a compliment), and you can't even be sure about the size of your ints. Since ints could be tiny somewhere, you can't use them reliably unless you waste space everywhere else. And people love to assume they're 32 bits, and shit fucks up anywhere else.

>>16
This would have been the sane thing to do in C.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List