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
Tip: Painting the CToolbar's Parent Window (AfxControlBar)
Learn how to paint the background color (paint entire window) of CToolbarby using the "AfxControBar".
Locking Rebars and Toolbars
Learn how to lock the toolbars (within a rebar or not) like Windows Explorer under Windows 2000/XP.
Building and Using a Toolbar Header
How to implement a header for your SDI/MDI project.
Putting a Docking Toolbar in a Dialog App
Getting a docking toolbar in a dialog is not easy. I do a small trick -- I make a dialog behave like a toolbar, thus making a lot of GUI gimmicks easy to incorporate.
Toolbar Button Events and Disabling in Visual C++ 7
How to hook up the normal click events for toolbars in VC7, and how to disable buttons programmatically, depending on context.
Latest CodeGuru Developer Columns
Understanding the C++ Utility Components in the C++ Standard Library
Learn more about a few commonly used components and explore their utility and usages.

Top Programming Languages to Use for .NET Development
Take a look at some of the most popular languages to use within the .NET paradigm.

Using Common Visual Basic Maths Conversion Functions—Imperial to Metric
When you need to convert imperial to metric and vice versa, here are some formulas to keep on hand.
The Value of APIs
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.