Thread: Abstract Factory in C++

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    1

    Abstract Factory in C++

    Can anybody provide me a sample code in c++ for creating classes using absrtact factory design patterns.

    Only a layout will work (one bacse class with 1 -2 methods, and one derived class).

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Here you can find some source code and further explanation:

    http://www.raba.com/~jcstaff/oodev/presents/objcreat/
    http://home.earthlink.net/~huston2/dp/patterns.html
    http://c2.com/cgi/wiki?AbstractFactory

    Do you have a specific question on this design pattern?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Abstract inheritence
    By Chris87 in forum C++ Programming
    Replies: 6
    Last Post: 06-18-2009, 10:47 AM
  2. Abstract Factory pattern
    By Just in forum C++ Programming
    Replies: 3
    Last Post: 02-18-2005, 10:58 AM
  3. abstract class
    By xddxogm3 in forum C++ Programming
    Replies: 5
    Last Post: 01-01-2005, 09:08 AM
  4. Factory Functions HOWTO
    By GuardianDevil in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 01:41 PM
  5. abstract vs pure abstract class
    By Kohatian 3279 in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2002, 11:12 AM