【发布时间】:2019-02-24 14:10:24
【问题描述】:
我的 XML 文件大小为 252 KB。我尝试使用以下语句使用 fisrt_node 函数进行搜索
root_node = doc.first_node("cdf",0,false);
其中 cdf 是我的根节点,然后程序崩溃并给出分段错误错误。如果我搜索我的 xml 中不存在的节点,那么它只会返回 null。
希望有人帮助我
【问题讨论】:
-
欢迎来到 stackoverflow.com。请花一些时间阅读the help pages,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。也请take the tour 和read about how to ask good questions。最后请学习如何创建Minimal, Complete, and Verifiable Example。