cocos2d-x
lrstom
没有做不到的,只有想不到的.
展开
-
详解Cocos2d-X中宏CC_DLL
class CC_DLL CCScene : public CCNode{public: /** * @js ctor */ CCScene(); /** * @js NA * @lua NA */ virtual ~CCScene(); bool init(); static CCSce原创 2015-03-19 17:32:45 · 544 阅读 · 0 评论 -
A的对象和new出来的对象有什么区别
#include using namespace std;class A{public: A(){ cout << nInt << endl; };private: unsigned int nInt;};int main(){ A a; A * nA = new A; if ( nA ) { cout << "我是对象" << endl; } s原创 2015-03-19 17:34:56 · 581 阅读 · 0 评论