In need of a ini library with sectionNext and keyNext

Hey guys,
I normally don't like asking for links to resources, however, after trying a dozen ini libraries/source for such functionality for seeking sections/keys.. I am at a loss.

Although, I had come across one where I could make the functionality work, the majority of the library is broken, and just buggy.

A cross platform ini library would be nice, but I'll settle for anything that just works. It's so extremely hard to find one (for me) with such functions.

Kris.

Oh, and a free cookie to anyone that helps. ;P
Last edited on
I only ever used WinAPI. It has built in functions for reading ini files.

ReadPrivateProfileString GetPrivateProfileString and WritePrivateProfileString

I'm sure there are others. Look it up on MSDN and dig around the "See also" / "related functions" areas.
Last edited on
I avoid anything Microsoft, they seem to make too many dependencies, massive files and non-portable code.
You could try Boost's Property Tree library, which has an INI parser.
http://www.boost.org/doc/libs/1_45_0/doc/html/property_tree.html
Thanks, had no idea it had an ini parser due to the name. =P
Topic archived. No new replies allowed.