Jump to content
  • Advertisement
Sign in to follow this  
Miksan

Looking for configuration library

This topic is 4747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to quickly build a c (or c++) application, and I wouldn't like to make my own methods for reading .ini files (or similar). Rather I'd like to use some ready library (like Nini for .net languages). Despite searching a lot, I haven't stumbled upon anything useful. Is there anything available?

Share this post


Link to post
Share on other sites
Advertisement
Hmm, I don't know of anything like that, but it does seem like a useful idea. I have traditionally used TinyXML for that in the past.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Writing one shouldn't be too hard:

http://www.boost.org/libs/tokenizer/index.html

http://www.boost.org/libs/spirit/index.html

The first seems like a more sensible choice if all you do is key = value.The latter might be beneficial for the future in case a more complex grammar is desired.


// ville

Share this post


Link to post
Share on other sites
if this prog is only for windows, you could use this functions GetPrivateProfileString, GetPrivateProfileStruct, GetPrivateProfileInt, ....

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!