Hi,

in a header file

I have a class called tree.h;

inside that class I have a struct
Code:
struct tree_node
	{
		tree_node* left;
		tree_node* right;
		int x;
		int y;
	}; 
	tree_node* root;
inside the .cpp
file i want to make a method called getRoot()?

I have no idea how to do it