How to write this kind of INI file

Posted by menok on Stack Overflow See other posts from Stack Overflow or by menok
Published on 2010-06-02T09:35:56Z Indexed on 2010/06/02 9:43 UTC
Read the original article Hit count: 200

Filed under:

I want to write a ini. file in MFC ,and I know those typical methods with section names, key names and key values. I`m wondering how to write a ini file which contains only a section name.

a ini file like below

...  
[section]  
...  

I have tried the function writeprivateprofilestring() with two NULL parameters but it failed.

© Stack Overflow or respective owner

Related posts about mfc