2016年12月23日星期五

new 和 malloc 的区别


Linux伊甸园开源社区-24小时滚动更新开源资讯,全年无休! --原文出处: sg-expert posted on 2013-11-19 1. malloc()函数 1.1 malloc的全称是memory allocation,中文叫动态内存分配。 原型:extern void *malloc(unsigned int num_bytes); 说明:分配长度为num_bytes字节的内存块。如
阅读全文 | 邮件推荐 | 评论回复 http://ift.tt/2i9Ncpc

没有评论:

发表评论