C++ examples for Design Pattern:Factory Pattern
Click the following links for the tutorial for Design Pattern and Factory Pattern.