2015年4月15日
摘要: google一下 c overiding发现有这样一段英文解释: Because C doesn't require that you pass all parameters to the function if you leave the parameter list blank in the p 阅读全文
posted @ 2015-04-15 10:35 你不知道的浪漫 阅读(449) 评论(0) 推荐(0)
摘要: 刚刚学c,看到别人写的这个代码,稍稍修改了一下贴出来分享 阅读全文
posted @ 2015-04-15 09:56 你不知道的浪漫 阅读(1052) 评论(2) 推荐(0)
摘要: sump方法说明: 1 数组名多持有的指针是该数组的首地址 2 total += *start++;start指针的原型是int数组,每++一次移动一个int字节的长度,也就是取array数组下一个元素 ++运算符和*具有同等优先级,同等优先级的运算符从右向左,所以是先++然后再*取值,最终移动到数 阅读全文
posted @ 2015-04-15 09:43 你不知道的浪漫 阅读(5544) 评论(1) 推荐(0)