This article describes how to create stack based allocators for use with STL containers.
Latest Frameworks Articles
Unit Testing for Native Applications Using WinUnit
While it's easy to find a reliable unit testing framework for .NET framework applications like NUnit, it's a challenge to find a similar easy-to-use offering for C++ programming.
C++ Tutorial: Use std::tuple To Simulate Compact Heterogeneous Containers
Std::tuple is a compact, fixed size container that packs a variable number of elements of different types. This property makes tuples useful in simulating multiple return types for a function, assigning and comparing multiple values simultaneously and abstracting complex data structures.
Improve Microsoft Visual C++ Application Security and Robustness with SafeInt
In this age of cloud computing, massive parallel systems and complex security threats like identity theft and decentralized botnets, devoting resources to combat the seemingly age-old issue of integer overflow appears distinctly passC). Despite the fact that integer overflow is such a well know problem, particularly within C and C++ programming, the problem remains a real issue from both a defect and security standpoint, that's why the introduction of the SafeInt template class in Visual C++ 2010 to address overflows is a great addition.
The Smart Pointer That Makes Your C++ Applications Safer - std::unique_ptr
Using shared_ptr instead of raw pointers helps you avoid the common pitfalls associated with raw pointers but in some cases, its performance isn't satisfactory. Unique_ptr is a new C++0x smart pointer that is compact, fast and fully compatible with the standard library. Find out how to use unique_ptr to make your code safer without sacrificing performance.
Lessons on Development of 64-Bit C/C++ Applications
The course is devoted to creation of 64-bit applications in C/C++ language and is intended for the Windows developers who use Visual Studio 2005/2008/2010 environment.
Latest Developer Videos
More...Latest CodeGuru Developer Columns

Control Statements and Basic Loops in C++/CLI
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.

Processing Things in C# with the Process Class
Explore new ways to run processes under Windows. Some might even surprise you.

Switching Input Languages Dynamically with Visual Basic
You can change your input language dynamically. Make it easier for those who speak other languages to use your software.
Maker Project: Creating a Garage Door Opener
Have you ever wanted to control your garage door from your smartphone? Here is your chance. Get your hands dirty with an Arduino Garage Door Controller.






