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 CodeGuru Developer Columns
C++ Exception Handling: How to Handle Exceptions in C++
Learn to implement exception handling mechanism in C++.

TypeScript for the C# Developer
Learn about TypeScript: what it is, and its type system.

Detecting a Touchscreen in Visual Basic
Learn how to detect if a touchscreen is available on the device running your application. You'll also see how to display a touch-enabled keyboard!
Using C# 7 Pattern Matching
Take advantage of pattern matching to check for patterns in your code, improve performance, and simplify your code.






