The Wayback Machine - https://web.archive.org/web/20111101203151/http://www.codeguru.com:80/cpp/cpp/cpp_mfc/buffers/

    Buffer & Memory Manipulation

    Visual C++: Protecting Against Buffer Overruns with the /GS Switch

    Visual C++.NET supports the automatic detection of stack-based buffer overruns through the use of the /GS compiler switch. Learn why stack-based buffer overruns are so serious, and how /GS and other Visual C++ settings can combat them.

    VMemPool

    If you deal with same size objects in server coding, VMemPool shows a good way for beginners.

    Automatic Deallocation of Unwanted Memory

    The most common yet repeated mistake that programmers make occurs while using system memory. This program automatically deallocates memory back to the system!

    MemCheck Driver Memory Tool

    Code to help driver developers locate and solve memory problems. The code includes checks for buffer overruns, double-frees, invalid memory accesses.

    Inflable Arrays in Win32

    The inflable array described here allows to declare really huge buffers without actually allocating much more memory than is really needed to store the actual data.

    Expandable, Data Type-Neutral Buffer Class

    Expandable, Data Type-Neutral Buffer Class

    Circular Buffer

    Circular Buffer