Working with File ini

Hello,

I'm starting my study in C++.

I want to know a library which I can work with ini files. This kind of file has been applied to my other projects and thus I need to keep it. So, I need to read it and load its parameters to my C++ code.

I look for it at Google, but I didn't find good information.

Thank for helps.

Working with an ini file can be complicated, here is a helpful link:

http://www.codeguru.com/cpp/w-p/files/inifiles/article.php/c4455

I would recommend using a .txt file instead, but I don't what kind of programs you are trying to make.
My programs have been written for bioinformatics and I've been used Python Language as my main language. Since Python 2.5, there is ConfigParser class which works with configure files that can be divided by sections. Therefore, I created a class that works with this class.
However, I need to build a program that needs to be in C++ because it going to interact with other programs and after an analysis we agree that a good way write this program in C++.
I thank you for your answer. I'll accept your suggestion and I'll work with txt files such as parameter = value.

Thank for your help.
No problem faccioli, good luck in your future programming!
The Wikipedia article lists everything you need to know -- including good library links at the bottom.
http://en.wikipedia.org/wiki/INI_file

Good luck!
Topic archived. No new replies allowed.