libxml2源码下载、编译,以及解析xml文件(C++版本)
1、首先下载libxml2源码并编译
#git clone https://gitlab.gnome.org/GNOME/libxml2.git
#cd libxml2
#mkdir build
#cd build
#cmake ..
#make
#make install
2、例程如下
代码,test.cpp
/*
* date : 2020-10-22
* author : Mike
*/
#include <stdio.h>
#include <strin
原创
2020-10-22 15:21:01 ·
2648 阅读 ·
0 评论