bool test;
sizeof(test) = 1 if using VS 2010. Since every C++ data type must be addressable, the \"test\" bool variable is 8-bits(1 byte).
sizeof(test) = 1
My qu
Another possibility to have a variable of 1 bit, is to put into a bitfield struct:
struct { int a:1; int b:1; };