Notifiers make anonymous communication between objects in a system possible. They are also easy to understand, providing a seamless migration as new developers are introduced to a project. This article describes the design and implementation of Notifiers in C++.
Latest Patterns Articles
Gain an overview on what a design pattern is and how they employed in developing MFC library.
Provides a very fine C++ implementation of the Observer Pattern (implementing cyclic updates, self reference, etc.)
This C++ tutorial shows you how to avoid object dependencies using the Observer Pattern, and explains when and why the Observer Pattern is needed, its benefits and liabilities.
Applying Strategy Pattern in C++ Applications
Bridge Pattern - Bridging the gap between Interface and Implementation
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
When is it appropriate to use a static construct? Learn about it here.
Discover the world of debugging and debugging tools.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.