<分区>
Unhandled exception at 0x0096348B in HelloWorld.exe: 0xC0000005: Access violation reading location 0x00000000.
这是我在尝试使用我添加的 Sprite 时遇到的错误。
CCSprite *sprite = CCSprite::spriteWithFile("Untitled.png" );
sprite->setAnchorPoint(CCPointZero);
this->addChild(sprite, -1);
错误在第一行
感谢您的帮助。
我正在使用 Visual Studio 2013