Hi,
in a header file
I have a class called tree.h;
inside that class I have a struct
inside the .cppCode:struct tree_node { tree_node* left; tree_node* right; int x; int y; }; tree_node* root;
file i want to make a method called getRoot()?
I have no idea how to do it