xml格式文件解析开源库tinyxml2使用
tinyxml2需要用到tinyxml2.h及tinyxml2.cpp文件,可以在下面网址下载,下载后放在程序根目录下。
GitHub - leethomason/tinyxml2: TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.
头文件添加:
#include "tinyxml2.h"
应用:
char* xmlStr;
xml.
原创
2021-12-10 16:11:29 ·
969 阅读 ·
0 评论