///////////////////////////////////////////////////////////////////// // product.cpp -- Abstract Product and its Concrete derivatives // // // // Jim Fawcett, CSE791 - Design Patterns, Summer 2002 // ///////////////////////////////////////////////////////////////////// #include "product.h" #include using namespace std; void ConcreteProductA1::show() { cout << "\n This is productA1 in action"; } void ConcreteProductA2::show() { cout << "\n This is productA2 in action"; } void ConcreteProductB1::show() { cout << "\n This is productB1 in action"; } void ConcreteProductB2::show() { cout << "\n This is productB2 in action"; }