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
If you deal with same size objects in server coding, VMemPool shows a good way for beginners.
The most common yet repeated mistake that programmers make occurs while using system memory. This program automatically deallocates memory back to the system!
Code to help driver developers locate and solve memory problems. The code includes checks for buffer overruns, double-frees, invalid memory accesses.
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
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn how to change your screen's wallpaper, screensaver, and its settings as well as change your screen's resolution.
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!