#if Karthik Vishwanath
> Hi,
> 
> I wanted to have my program accept parameters from a text file instead of
> recompling the code everytime I want to change a few dynamic parameters.
> The program is written in C, and text handling in C is quite a tedious
> process (or am I mistaken?). The question is I will have identifiers and
> numbers in my .rc file, which I want parsed and understood. The question
> is can I find some other tool to do this and integrate it with C? 

You can use fscanf (dangerous), write your own mini parser (easy and
safer), or use one of the libraries written specifically for the
purpose. You might want to check out libproplist.

Rik

Reply via email to