////////////////in cocos2dx 2.x//////////////////////
CCDictionary *strings = CCDictionary::createWithContentsOfFile("word.xml");
use Map?
how to use map load XML file
////////////////in cocos2dx 2.x//////////////////////
CCDictionary *strings = CCDictionary::createWithContentsOfFile("word.xml");
use Map?
how to use map load XML file
ValueMap dict = FileUtils::getInstance()->getValueMapFromFile(fullPath);
@HQ.LIN Thx~!