problem in memory allocation for array of objects in iphone SDK?

Posted by senthilmuthu on Stack Overflow See other posts from Stack Overflow or by senthilmuthu
Published on 2010-03-26T08:29:33Z Indexed on 2010/03/26 8:33 UTC
Read the original article Hit count: 171

Filed under:
|

Hi, if i do like,i know its wrong, but can anyone give alternative solution? for(int i = 0;i<=3;i++) { myclass *obj[i] = [[myclass alloc] init]; }

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk