我这么把我Resources下的 game.db3,放到模拟器里面呢?。
现在每次build就会重置,,哎。。。
这个是直接读resources的
std::string path = CCFileUtils::sharedFileUtils()->fullPathForFilename(“game.db3”);
这个是在模拟器里面加的
// std::string path = CCFileUtils::sharedFileUtils()->getWritablePath()+“game.db3”;
求高手指点。。~