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
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
With facilities to search, copy, extract segments, and more, the array class can handle pretty much any task you need to perform with ease.
Learn about delegates, a type that represents a reference to physical methods with the same parameter list and return type.
If you have written solid code, you have accomplished one half of the objective. Solid code is the protagonist, or hero, of our story, but testing is the more sedate side kick that often saves the day after the hubris of the hero has almost certainly lead to calamity.