开发者

How do you write to an xml file in win32 C++?

开发者 https://www.devze.com 2022-12-13 04:59 出处:网络
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 thi

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++.

0

精彩评论

暂无评论...
验证码 换一张
取 消