This article describes how to create stack based allocators for use with STL containers.
Latest C++ Articles - Page 6
C++0x introduces two new function specifiers: =default and =delete. The former instructs the compiler to implicitly define a member function that it wouldn't define otherwise. The latter suppresses the implicit definition of a member function. Find out how to use this mechanism to reduce labor-intensive tasks, improve performance, and make your classes more secure.
This article deals with advanced-level tips and tricks for using WinUnit, how to integrate WinUnit with Microsoft Visual Studio, and recommended guidelines.
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.
Learn to use the implementation of asynchronous Win32 sockets without the use of MFC.
Vectors are one of the single most useful and most used objects in the STL. They are easy to use, and remove the burden of memory management from the user. It is possible to partially control memory usage by using functions like
reserve, but nothing is provided to free up excess memory. Users have come up with ways to trim a vector by hand, but with the advent of the new C++0x and its move semantics, the classic solution of copy-swaping has become excessively expensive. This article seeks to find a better solution.
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.
Just a few lines of code will let your program determine whether it's being reached by a mobile device.
Pick up the basics of how to create dynamic assemblies and how to run dynamic code.
As a web developer you should be aware of a few security best practices while developing your ASP.NET web application. Arun Karthick lists his top 7 tips to help you keep your ASP.NET security intact.