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 Toolbar Articles
Learn how to paint the background color (paint entire window) of CToolbarby using the "AfxControBar".
Learn about the Tab Bar control class that is based on CControlBar and the Windows common tab control; it also uses my wrapper class CTabBarCtrl.
Learn how to lock the toolbars (within a rebar or not) like Windows Explorer under Windows 2000/XP.
Simply by adding some code to your MFC frame windows, you can make your toolbar customize dialog works.
A simple interface based on Internet Explorer that implements features introduced in Windows XP and remains compatible with all OS versions since Windows 98. Includes support for alpha channel images under Windows XP, both 3D and flat (XP) style, and rebar menu with full mouse and keyboard support. (The demo project and source code were updated.)
Latest CodeGuru Developer Columns
With the addition of the C/C++ extension to Visual Studio Code, you might have what is needed in a small, cross-platform editor.
Explore how to access the data from a JsonResult object and display it in a browser. An example is given so you can follow along.
Learn to create a .NET application that enables you to rotate any one of your display screens and to reset them back. Examples are in C# and VB.NET.
Onion Architecture addresses the challenges faced with 3-tier and n-tier architectures, and provides a solution for common problems.