Ummm, what language are you all programming in? C/C++ DOES NOT support binary literals the way you''re describing. Octal, yes. Hex, yes. Decimal, of course. Binary, NO. kressilac is on the right track, but if you''re using C++, and you actually want to store a collection of binary values in bits, then look into bitset<>, part of the standard library...
-Brian
initlializing variables with binary value
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement