晚上好,我尝试在我的 C++ builder IDE 中使用 tinyxml 2。代码真的很简单。我只想解析现有的 XML 文件。代码如下所示:
#include "tinyxml2.h"
using namespace tinyxml2;
class myclass
{
XMLDocument doc_;
}
现在编译器给出消息:“对 XMLDocument 的引用不明确”
有任何想法吗?我不知道如何解决这个问题。非常感谢您的提示。
晚上好,我尝试在我的 C++ builder IDE 中使用 tinyxml 2。代码真的很简单。我只想解析现有的 XML 文件。代码如下所示:
#include "tinyxml2.h"
using namespace tinyxml2;
class myclass
{
XMLDocument doc_;
}
现在编译器给出消息:“对 XMLDocument 的引用不明确”
有任何想法吗?我不知道如何解决这个问题。非常感谢您的提示。