如何在C ++中读取xml文件 [英] how to read xml files in c++
本文介绍了如何在C ++中读取xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在vc6.0中读取xml文件
how to read xml files in vc6.0
推荐答案
尝试使用任何 ^ ].
1)使用MSXML接口. google关键字IXMLDOMNode,IXMLDOMDocument,您可以找到许多应用程序.
2)XMLite -> [
1) use MSXML interface. google the keyword IXMLDOMNode, IXMLDOMDocument, you can find many applications.
2) XMLite ->[^]
根据您的需要:
1)要么使用 tinyXML [ CodeSynthesis [
Depeding on your needs:
1) Either a lightweight XML library like tinyXML[] (I recommand this one, bery easy to use).
2) A databinding library like CodeSynthesis[]. Basically, it generates C++ class based on your schema definition. When reading an XML file, you then manipulate your own objects instead of manipulating an XML document.
这篇关于如何在C ++中读取xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文