@1074241432 写道:
ShopScene::ShopScene()
:labelmoney(NULL)
{
CCTexture2D::PVRImagesHavePremultipliedAlpha(true);
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("shop.plist");
CCNotificationCenter::sharedNotificationCenter()->addObserver(
this,
callfuncO_selector(ShopScene::updatelabel),
REFRESHPETLABEL, //这行有错
NULL);
}Error 2 error C2059: syntax error : '}'
error C2059: syntax error : 'xxx'
中文对照:(编译错误)‘xxx’语法错误
分析:引起错误的原因很多,可能多加或少加了符号xxx
帖子: 1
参与者: 1