Open Cstardust opened 1 year ago
https://cstardust.github.io/2022/04/04/c++_new-delete/
new、malloc区别。free、delete区别 malloc free 称为C的库函数 new delete 称作运算符12345int p = malloc();free(p);==================================int p = new int(...);delete p; malloc和new的区别? new调用operator new,operat
https://cstardust.github.io/2022/04/04/c++_new-delete/
new、malloc区别。free、delete区别 malloc free 称为C的库函数 new delete 称作运算符12345int p = malloc();free(p);==================================int p = new int(...);delete p; malloc和new的区别? new调用operator new,operat