我用的是VS2008,请问下CCLOG(“HelloWorld”)信息在哪里可以查看,麻烦懂得哥们解答下,谢谢。
就在HelloWorld里面加了这句,啥都没看到。
你写错格式了…CCLog(“helloworld”)或string s=“afddsafsdfgfsdgfg”;CCLog(“helloworld====%s”,s.c_str());
:L 就在下边的输出里边啊
269
我啥都看不到。
— Begin quote from ____
红光 发表于 2012-6-15 17:49 url
— End quote
CCSprite* pSprite = CCSprite::spriteWithFile("HelloWorld.png");
// position the sprite on the center of the screen
pSprite->setPosition( ccp(size.width/2, size.height/2) );
// add the sprite as a child to this layer
this->addChild(pSprite, 0);
CCLOG("%s", "HelloWorld=======>>>>>");