stonyag的ChinaUnix博客stoneyang.blog.chinaunix.net
stonyag
全部博文(9)
2013年(6)
2012年(3)
boxma
Linux-Ja
yimusanf
satfire
阿注哥
baocheng
55158994
stefvsja
hwayw
发布时间:2013-02-22 18:09:06
变长参数以前只是听说,没有搞过。今天看cocos2d-x源码,见到了一些变长参数列表,觉得不错,因此拿过来研究了一番。尔后发现它的使用是很easy的。CCArray.cppCCArray* CCArray::arrayWithObjects(CCObject* pObject, ...){ va_list args; va_start(args,pObje.........【阅读全文】
登录 注册