2011年(100)
分类: C/C++
2011-04-21 18:06:34
friend class aClass; |
class Node { private:}; |
class BinaryTree { private: Node *root; };int find(int key); int BinaryTree::find(int key) { // check root for NULL...} |
friend return_type class_name::function(args); |
class Node { private:}; |