在C ++程序中使用什么库来写* XML文件? [英] What library to use to *write* XML file in a C++ program?

查看:100
本文介绍了在C ++程序中使用什么库来写* XML文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C ++程序中用来写入 XML文件的库是什么?



我在CodeProject中发现了两个类>



但要检查是否有比这些更标准的选择。我只关心写作,而不是解析XML。

解决方案

我尝试了不同的库, http://www.grinninglizard.com/tinyxmldocs/index.html\"> TinyXml 。它紧凑,快速,免费(zlib许可证),非常易于使用。


What library to use to write XML file in a C++ program?

I've found two classes posted in CodeProject

but want to check if there is more standard option than these. I'm only concerned with writing, and not parsing XML.

解决方案

I tried different libraries and finally decided for TinyXml. It's compact, fast, free (zlib license) and very easy to use.

这篇关于在C ++程序中使用什么库来写* XML文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆