configuration file

This is a discussion on configuration file within the C Programming forums, part of the General Programming Boards category; Hello guys I have implemented a small piece of software that acts like an expert system. it consists of five ...

  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    1

    configuration file

    Hello guys

    I have implemented a small piece of software that acts like an expert system. it consists of five basic functions with only if statement in each function to determine my condition.

    Now I want to make it more flexible by exporting my expert system's rules (functions) into a configuration file so the user can decide what rules to execute and what to not at run time.

    I really appreciate you help and suggestions
    Last edited by mick3339; 08-02-2010 at 12:08 AM.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Just a contrarian point of view, but consider making your options part of a menu system. That menu (or even menu program) would then call either the correct series of functions, , print out the right options so they can be copied, or even call the right version of the program.

    Command line options and etc., are only good for a few common options. Once you get past the most obvious and common options, the rest are a pita to work with.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  3. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

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