Ini Files using Visual studio C++ 2008

closed account (Shp21hU5)
Hi guys

Can you help please, I want to be able to read and write to a IniFile using Visual studio C++ 2008 or C++ 2010 but I can't see or find away to do it. I've looked on the web but got no joy so could you please give me a simple example or point me in the right direction please.

Thank You.

https://www.pcmag.com/encyclopedia/term/ini-file
It looks like you can read/write these files simply with notepad. Knowing what you're supposed to write and what not to delete may be the bigger issue.
.ini file is just a text file. So you can rea/write them just like any other text file. The bigger issue is knowing what to add/delete/change. Note as it's a text file you can't just change a part of the file. You'll need to read the whole file/change/add/modify then write the back the whole file.
closed account (Shp21hU5)
Thanks You guys for your help.
Topic archived. No new replies allowed.