///////////////////////////////////////////////////////////////////// // product.cpp -- implements ConcreteProducts // // // // Jim Fawcett, CSE776 - Design Patterns, Summer 2004 // ///////////////////////////////////////////////////////////////////// #include "product.h" #include using namespace std; void ConcreteProductA1::showA() { cout << "\n This is productA1 in action"; } void ConcreteProductA2::showA() { cout << "\n This is productA2 in action"; } void ConcreteProductB1::showB() { cout << "\n This is productB1 in action"; } void ConcreteProductB2::showB() { cout << "\n This is productB2 in action"; }