Help with

Rob Wehrli plug-devel@lists.PLUG.phoenix.az.us
Fri Mar 29 18:05:02 2002


Sundar wrote:
> 
> Hello,
> 
> I had to quickly fix a C application for my company, and I have coded
> little bit C some 6 years back. So, I am looking for small help.
> 
> I need to read a properties file with following format and use it to
> validate the user input
> key=value1,value2,value3...
> key2=value1,value2,value3...
> 
> User enters a value for key as value2, then I go ahead and process it.
> If not I have to loop back to the prompt.
> 
> Any snippet of the code is appreciated.
> 
> Sundar
> 

Use...

fopen
fread
strtok
fclose

Let me know if you need more...

Take Care.

Rob!