上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页

2015年3月17日

摘要: http://zhidao.baidu.com/link?url=c3m55lgpjhU1Rb7TEP-aTGQAX3-GrcBk5NaUC2UA1ZtQiCCtHJzB_KoG7pWvPEybfYv7AWiUH8Vev0Y3Jkr0OKandroid 的opengl glEnableClientS... 阅读全文
posted @ 2015-03-17 11:15 沉淀2014 阅读(4022) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/this-543273659/archive/2011/08/30/2159819.html参与运算的两个值,如果两个相应bit位相同,则结果为0,否则为1。即: 0^0 = 0, 1^0 = 1, 0^1 = 1, 1^1 = 0按位异或的3个特点... 阅读全文
posted @ 2015-03-17 10:00 沉淀2014 阅读(196) 评论(0) 推荐(0) 编辑

2015年3月16日

摘要: http://baike.1688.com/doc/view-d1750791.htmlC语言中的“>>”和“>”和“=类型长度.那么实际上i,j移动的就是1位,也就是33%32后的余数.在gcc下是这个规则,别的编译器是不是都一样现在还不清楚. 总之左移就是: 丢弃最高位,0补最低位 再说右移... 阅读全文
posted @ 2015-03-16 17:20 沉淀2014 阅读(470) 评论(0) 推荐(0) 编辑
摘要: http://graphics.stanford.edu/~seander/bithacks.html#OperationCountingBit Twiddling HacksBy Sean Eron Andersonseander@cs.stanford.eduIndividually, thec... 阅读全文
posted @ 2015-03-16 14:28 沉淀2014 阅读(301) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/8637142/what-does-this-bit-manipulating-function-dounsigned long ccNextPOT(unsigned long x){ x = x - 1; x = x... 阅读全文
posted @ 2015-03-16 14:27 沉淀2014 阅读(149) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/shuaishuai80/article/details/6140979malloc、calloc、realloc的区别分类:C Language2011-01-15 01:085451人阅读评论(2)收藏举报存储语言deletecos(1)C语言跟内存分配... 阅读全文
posted @ 2015-03-16 10:46 沉淀2014 阅读(830) 评论(0) 推荐(0) 编辑
摘要: malloc:memory allocationcalloc:The 'c' indicates 'cleared'realloc:Therealloc() function changes the size of the memory block pointed to by ptr to size... 阅读全文
posted @ 2015-03-16 10:02 沉淀2014 阅读(376) 评论(0) 推荐(0) 编辑

2015年3月15日

摘要: http://blog.csdn.net/macmini/article/details/10503799当我们使用gettimeofday(&time,NULL);时,会出现这样一个WARNINGImplicit declaration of function 'gettimeofday' is ... 阅读全文
posted @ 2015-03-15 21:36 沉淀2014 阅读(6190) 评论(1) 推荐(1) 编辑
摘要: http://www.xuanyusong.com/archives/950上一章我们了解了cocos2d的项目路径以及工作原理,这次作者要真刀真枪地讲解代码了,咱们先来看看cocos2d最常用、也是作者认为最核心的类——CCNode。之前说过,cocos2d的所有类都以CC开头,那么实际上这个类的... 阅读全文
posted @ 2015-03-15 20:21 沉淀2014 阅读(296) 评论(0) 推荐(0) 编辑
摘要: http://www.xuanyusong.com/archives/category/ios/cocos2d_game分类目录归档:【Cocos2D研究院之游戏开发】201211-19Cocos2D研究院之打开全新ViewController与返回(八)雨松MOMO【Cocos2D研究院之游戏开发... 阅读全文
posted @ 2015-03-15 20:18 沉淀2014 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页

导航