Check out this stand-alone, intelligent "increasing buffer" class. It's useful for a Win32 SDK project without using MFC.
Latest Array Handling Articles
Manage a group of buttons as an array in VC++.
The vector array, part of the standard namespace (std::), allows you to easily create a dynamic array of elements. The vector class belongs to the STL (Standard Template Libraries). Read on to learn when and how to use a vector array.
Wrap-around array is implemented in the form of a class template and thus allows elements of any type. The idea of such an array is to have it in the form of a loop.
The class CBitArray behaves like a specialization of the MFC template class CArray.
Class that stores huge arrays of flags in as efficient a manner as possible (packed into array of BYTEs)
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Discover (Rediscover?) an image-manipulating tool that's been around for ages, but is especially suited to working within the .NET framework.
The concepts of boxing and unboxing data might be second nature for many, but for newbies it's worth covering. And, the "old hands" may learn something new, as well.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!