![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C & C++
文章平均质量分 73
Android_Tyro
学了C,还要学JAVA,5~~~~~~
展开
-
删除链表节点的二种方法比较
可以比较下二种方法实现的差异,你更喜欢哪种呢? 方法一: typedef struct node { struct node * next; .... } node; typedef bool (* remove_fn)(node const * v); // Remove all nodes from the原创 2013-01-12 10:46:49 · 396 阅读 · 0 评论 -
C语言运算中的数据类型自动转换原则
C语言运算中的数据类型自动转换原则 问题1: unsigned int a=20; signed int b=-130; a>b?还是b>a?实验证明b>a,也就是说-130>20,为什么会出现这样的结果呢? 问题2: signed int b=-130; std::cout<<b+30<<std::endl; 输出为-100。 问题3: unsigned int i=3;转载 2013-08-28 11:54:00 · 766 阅读 · 0 评论 -
Opengl ES2.0 - Iphone开发指引 【转】
(译)OpenGL ES2.0 – Iphone开发指引 原文链接地址:http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial 免责申明(必读!):本博客提供的所有教程的翻译原稿均来自于互联网,仅供学习交流之用,切勿进行商业传播。同时,转载时不要移除本申明。如产生任何纠纷,均与本博客所有人、发表转载 2013-09-05 10:40:58 · 569 阅读 · 0 评论 -
EGL 配置属性默认值和匹配法则
表 2.1 EGL 配置属性默认值和匹配法则 属性 数据类型 默认值 排序优先级 选择顺序 EGL_BUFFER_SIZE int 0 3 Smaller value EGL_RED_SIZE int 0 2 Larger v原创 2013-10-11 17:01:56 · 1026 阅读 · 0 评论