Vincent.Penquerch at artworks.co.uk
Mon Nov 25 20:47:02 UTC 2002
> I'm making a program where I need a config file. Now, I'm hardly the
> first to do that, so I was wondering if there is some
> intelligent way of
> dealing with this, or should I simple make text file, and
> start reading?
Might be overkill, but http://www.tecgraf.puc-rio.br/lua/
Otherwise, if the format is simple, a la "foo=bar", two strtok
calls with separators of newline and '=' should do it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tuxCPProgramming