Whats the best way do designs a modular program

This is a discussion on Whats the best way do designs a modular program within the C++ Programming forums, part of the General Programming Boards category; If i wanted to build an app that had a core piece of code which was always running, and then ...

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    63

    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
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129

  3. #3
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    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
    Posts
    2,129
    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, 12: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, 12:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 09:39 AM
  4. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21