[lug] OT: C Programming Question
D. Stimits
stimits at idcomm.com
Fri Dec 14 23:17:54 MST 2001
"Sexton, George" wrote:
>
> Are there any standard C library routines to read name value pairs from a
> text file using C?
>
> I.E.
>
> INTERFACE="eth0"
>
> comparable to the INI File functions in Windows?
>
> George Sexton
> MH Software, Inc.
> Voice: 303 438 9585
> http://www.mhsoftware.com
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
I'd vote for getline and strtok. But if you could use C++, I might be
able to adapt a mini-state-machine I created as a configurable reader of
key/value pairs for a game. Let me know if you are interested.
D. Stimits, stimits at idcomm.com
More information about the LUG
mailing list