linux下使用tinyXml报错error: ‘class TiXmlNode’ has no member named ‘LinkEndChid’。
#include"tinyxml.h"#include"tinystr.h"#include<iostream>usingnamespacestd;intmain(){T...
#include "tinyxml.h"
#include "tinystr.h"
#include <iostream>
using namespace std;
int main()
{
TiXmlDocument newDocument;
TiXmlDeclaration *dec= new TiXmlDeclaration("1.0","UTF-8","");
newDocument.LinkEndChid(dec);
printf("[%s,%d]\n",__FUNCTION__,__LINE__);
return 0;
} 展开
#include "tinystr.h"
#include <iostream>
using namespace std;
int main()
{
TiXmlDocument newDocument;
TiXmlDeclaration *dec= new TiXmlDeclaration("1.0","UTF-8","");
newDocument.LinkEndChid(dec);
printf("[%s,%d]\n",__FUNCTION__,__LINE__);
return 0;
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询