Click here to Skip to main content
13,042,421 members (129,355 online)
Click here to Skip to main content


80 bookmarked
Posted 10 Apr 2012

Factory Pattern in C++

, 15 Sep 2012
Using the Factory pattern in C++ to expose only an object's abstract type--hiding the implementation class detail.



Compare Revision Minor Date Status Editor
10 - publicly available No 14-Mar-13 14:11 Available Deeksha Shenoy
Updates in content.
9 No 14-Mar-13 14:10 Available Deeksha Shenoy
Updates in content. 16 changes had been made.
7 No 15-Sep-12 8:21 Pending Cale Dunlap
Very minor edit to the Spider::Speak function so that it prints a new line character so that subsequent lines aren't appended
6 No 26-Apr-12 12:23 Available Smitha Nishant
5 No 10-Apr-12 2:27 Available Sean Ewington
4 No 10-Apr-12 0:31 Composing Cale Dunlap
3 No 9-Apr-12 23:09 Composing Cale Dunlap
2 No 9-Apr-12 23:01 Composing Cale Dunlap
1 No 9-Apr-12 22:42 Composing Cale Dunlap


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Cale Dunlap
Software Developer
United States United States
I'm an interactive software and web developer by day and a video game developer by night. I hold an Associate's degree in Computer Information Systems, a Bachelor's degree in Game and Simulation Programming, and have been writing various types of software since 1999.

The programming languages in which I am experienced include C, C++, C#, PHP, and JavaScript--just to name a few. I have experience in creating mobile, embedded, desktop, command-line/console, web, and video game applications for consumer, business, and government/defense purposes.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170713.1 | Last Updated 15 Sep 2012
Article Copyright 2012 by Cale Dunlap
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid