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.
Using output caching is now much easier to use, thanks to .NET 4 and higher, and also can be used in a traditional application.
Learn more about sub queries and sub queries, and, more importantly, how to use them with Visual Basic.
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!