Learn C, C++ Concepts
This comment has been removed by a blog administrator.
Thanks for you suggestion.I understand what you want to say, but before that please read first what this pattern stands for. There are numerous way to use this pattern. I have not updated all of them that yet.Anyway I have changed the program a little bit.I will add the new code soon with the Inheritance too.Thanks,Saurabh Guptasaurabh.email@example.com