Thread: Whats the best way do designs a modular program

  1. #1
    Registered User
    Join Date
    Jul 2006

    Whats the best way do designs a modular program

    If i wanted to build an app that had a core piece of code which was always running, and then dynamically load and unload other "modules" (for lack of a better name) which preformed all the tasks of the program, what would be the best way to go about doing this. Can someone either point me to a URL or give me some good googling words.

  2. #2

  3. #3
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Chch, NZ
    what you are looking for is called a "plug in architecture" and is typically implemented with dll's as robwhit pointed out.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  4. #4
    Registered User
    Join Date
    Oct 2001
    or ".so" on UNIX. shared-object file.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM