How do you write to an xml file in win32 C++?
I would like to write a simple xml file using xmllite
in win32 c++
. the file will be saved over开发者_Go百科 every time the user saves. How do I do this? I'd rather not include any new libraries for this...
Start by reading the documentation: http://msdn.microsoft.com/en-us/magazine/cc163436.aspx#S4
Since your question specifies C++, and you've not specified why you must use xmllite, I will suggest another package for your consideration called tinyxml.
It's a pretty simple tool, and uses straight C++.
精彩评论