c语言使用malloc 来创建堆对象
new操作符 delete操作符
new
delete
如果new []的是数组,那么需要delete []
new []
delete []
本文标题:c++_动态对象创建
本文链接:https://www.haomeiwen.com/subject/oboibltx.html
网友评论