I am making it in project. In main I have not declared class nether the Node or root. It is in separate .h file. And I am having a trouble making that(testing) in main.cpp
I agree, but, this sounds more like a how to compile or set up a project problem (?).
What tools are you using, what OS? What exact error are you getting? Is it a compile error, or a linker error? Show the output from your compiler/linker/etc where it went wrong. The more you can tell us about what you need, the faster you will be up and running.