64,635
社区成员
发帖
与我相关
我的任务
分享
class BinaryTree{
private:
typedef struct info{
std::string Recipe;
std::string By;
std::string PrepTime;
std::string Categories;
}Item;
typedef struct node{
Item item;
struct node *left;
struct node *right;
}Node;
typedef struct tree{
Node *root;
int size;
}Tree;
Node *MakeNode(const Item *information);
Node *MakeNode(const Item *information){
............
}
};
BinaryTree::Node BinaryTree::*MakeNode()......
class BinaryTree{
private:
typedef struct Item{
........
}Item;
public:
Item FuncitonName(para....);
}
我该怎么在外部定义Item FuncitonName(para....)呢?