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.
Latest Miscellaneous Articles - Page 2
In this C++ tutorial, learn how to utilize Lambda expressions in your C++ Applications.
An Object Oriented approach to handling XML.
This tutorial shows you how to use Visual Studio 2008 with SP1 to build your first Dynamic Data web application and explore its features.
Serialize and deserialize XML files and XML buffer with this set of macros and classes. The serializer uses ATL String and ATL collections. Get the object representations of XML files and a means to store and load objects to and from XML.
Got XML files? Look no further than libxml2, which gives you both DOM and SAX model XML parsing in a single freeware library that works with most common languages in all popular platforms including Linux and Win32/Win64.
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.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn how to change your screen's wallpaper, screensaver, and its settings as well as change your screen's resolution.
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!