《C++ Primer》第五版中文版习题答案
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
fsZhuangB opened this issue 4 years ago · comments
std::string value; int *count; TreeNode *left; TreeNode *right; 请问class TreeNode的数据域是不是写错了?在原书中是int count,但是答案中写的是int * count。 我的理解是作者想要在此处实现引用计数的功能?
std::string value; int *count; TreeNode *left; TreeNode *right;
class TreeNode
int count
int * count