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
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

Adding Sizzle to a Video Slot Game with VB.NET
The final installment of our Slot Game series shows you how to build in a way to win or lose. We will also add some effects for when a win takes place.

.NET Azure Queuing and Serialization
Understanding Serialization is important if a developer is contemplating Azure .NET Queuing on either Azure Service Bus or Azure Storage Queues. Jeffrey Juday examines some common patterns to effectively apply Data Contract Serialization, leveraging the .NET Data Contract Serialization.