在实现国际化的时候,CCDictionary *strings=CCDictionary::createWithContentsOfFile(“chinese.xml”);为啥这句话出错呢?错误是:‘template<CLASS _KeyT, _ValueT> class cocos2d::CCMutableDictionary’ used without template parameters
这是什么错误呢,求大侠解答下,急急急急急急急急急急!!!
是不是你传入的参数有问题 改成下面的试试
CCDictionary *strings=CCDictionary::createWithContentsOfFile(“chinese.xml”);
没有写错啊,我就是按照你这样写的,老是出错