New, delete, malloc, free
 new and delete are said to be preprocessors while malloc and free are functions.  What is meant by new and delete being preprocessors?  
new and delete are C++ operators (like +, (), etc.) whereas malloc and free are (C) functions. Some operators (including new and delete) can be overloaded.
链接地址: http://www.djcxy.com/p/78534.html上一篇: C ++中的“new”和“malloc”和“calloc”有什么区别?
下一篇: 新建,删除,malloc,免费
