> 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.
--
Vincent Penquerc'h