新建,删除,malloc,免费
据说new和delete是预处理器,而malloc和free是函数。 new和delete是指预处理器是什么意思?
new和delete是C ++ 运算符 (如+,()等),而malloc和free是(C)函数。 某些运算符(包括new和delete)可能会超载。
链接地址: http://www.djcxy.com/p/78533.html上一篇: New, delete, malloc, free
下一篇: A bit confused on exact meaning of dynamic memory allocation for C++
