E
eusebiu
Hello....
How can I build a binary tree in C++ managed?
If I define a ref class like this for a node, I get an error :
Error 1 error C2460: 'nod::l' : uses 'nod', which is being defined
nod.h 6
Error 2 error C2460: 'nod::r' : uses 'nod', which is being defined
nod.h 7
ref class node
{
private :
node l;
node r;
public:
node(void);
};
How can I build a binary tree in C++ managed?
If I define a ref class like this for a node, I get an error :
Error 1 error C2460: 'nod::l' : uses 'nod', which is being defined
nod.h 6
Error 2 error C2460: 'nod::r' : uses 'nod', which is being defined
nod.h 7
ref class node
{
private :
node l;
node r;
public:
node(void);
};