///////////////////////////////////////////////////////////////////// // MyDocument.cpp - implements the document interface ver 1.0 // // Language: Visual C++ 2008 // // Platform: Sony Vaio, Intel Core 2 Duo // // Application: Demonstrating Factory Method Pattern // // Author: Anjan Kumar, Bollam , CSE // ///////////////////////////////////////////////////////////////////// #include "MyDocument.h" #include #include using std::endl; void MyDocument::Open(){ std::cout << " MyDocument: Open()" << endl; } void MyDocument::Close(){ std::cout << " MyDocument: Close()" << endl; }