C/C++之内存旋律:星辰大海的指挥家

new/delete对于【自定义类型】除了开空间/释放空间,还会调用构造函数和析构函数classApublic::_a(a)~A()private:int_a;intmain()//new/d...