程式是什么版本的VS軟體寫的已經不記得了。把代碼用VS2010,2019打開,轉換版本,轉換后提示錯誤。
這個類好像是網上下載的,是C++的類別庫,用于處理xml檔案。

const TiXmlNode* TiXmlNode::FirstChild( const char * _value ) const
{
const TiXmlNode* node;
for ( node = firstChild; node; node = node->next )
{
if ( strcmp( node->Value(), _value ) == 0 )
return node;
}
return 0;
}
這個錯誤是什么意思?意思是firstChild為空?
uj5u.com熱心網友回復:
例外時 看呼叫堆疊 逐級回退分析轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/271703.html
標籤:基礎類
