I am using CCArray in my code …
CCArray *arr; CCSprite *foo = CCSprite::spriteWithFile("CloseNormal.png"); arr->addObject(foo);
But its giving error, the varibale “arr” is being used without being initialized. How to initialize it then???
Can I create a multidimensional CCArray???