If you are using the STL bitset class with large bitsets that spend most their time in the sparse or mostly populated range, this class may be what you are looking for.
Latest Bits and Bytes Articles
Sockets Byte-Ordering Primer
For those who are new to sockets programming or who've long ago forgotten the idiosyncrasies of byte ordering with sockets (as I had when I needed to know this last year), here's a primer on what byte ordering is, why it's needed, and terms such as little-endian, big-endian, network byte order, and host bye order.
Representing Arrays as Streams of Bits
Read an array as a stream of bits. You can navigate inside the array of data, set a "pointer" to any bit inside the array, and choose the order the bits of every byte will be processed.
CBitPointer: Easy Bit Manipulation
Bits can't be accessed directly as a simple data type. Learn how to manipulate bits (nearly) as any simple data type.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
C++ Tips and Tricks
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.

Using the Gravatar API: Announcing Your Presence
Because codeguru.com is covering social media this month, I've got another social-related post for you. This time, it's how to use Gravatar with .NET.

Role-based Security Within VB
See how easy it can be to implement Role-based Security in your Visual Basic applications.

Influencing Users: Compliance and Conformity
Learn about two common influence techniques, compliance and conformity, as well as how to design for them.