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.
Latest Buffer & Memory Manipulation Articles
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
Latest Developer Videos
More...Latest CodeGuru Developer Columns
Comparing the stdio and iostream C++ Libraries
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.

A Tipple with a Tuple
Fear not, Tuple lovers. This much-maligned data type is still in use today.

Creating Visual Basic String Enums
With just a few lines of code, you can have a quick way to make an Enum accept String values instead of an ordinary named constant.
The Value of APIs
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.