PDA

View Full Version : Observer Design Pattern



joseph
21st January 2008, 10:05
Hi guys,

How to impliment your own OBSERVER DESIGH PATTERN in C++ without using any tools( MFC or QT or JAVA ). ie; how we can establish the communication between 2 objects or classes with out using any build in functionalities ( MVC ) ..??



thanks in advance

spud
21st January 2008, 12:17
Look here (http://en.wikipedia.org/wiki/Observer_pattern). I'm sure you can port the C# example to C++.