您的位置:首页 > Web前端

What is the difference between new/delete and malloc/free?

2011-08-20 17:11 579 查看
Malloc/free does not know about constructors and destructors. New and delete create and destroy objects, while malloc and free allocate and deallocate memory.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: