This is a very simple thing, so I want to keep it as simple as it sounds. All I want is to load a bunch of key-value paires from a file, and populate them in to a map. I do
If you are in the MS world you can use
GetPrivateProfileSectionNames GetPrivateProfileString WritePrivateProfileString
to read from ini file or regestry. If you want to write Unicode make sure a newly created file gets the BOM of UTF16.