补全递归析构函数 👁️ 1 人浏览 💬 0 人评论 ❤️ 添加收藏 补全 ~DNode():析构时顺手 delete 左右孩子。delete root; 之后输出还剩几个没归还。(本题用 g++ -std=c++17 -O0 编译。)
全部评论