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
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Your computer has a lot of information available to your inquisitive mind. Learn all its secrets with a few lines of code.
Avoid the pitfalls I experienced when installing VS 2015. There's also a brief history of Visual Studio.
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!