So I'm making a slightly huge project, but this one little problem is hindering any progress.
I just built a class for my AVL tree, but everytime I try to build it, C::B presents an error of "multiple definition of 'root'" and "first defined here", which points to my int main, which only has one function to display certain other things. That function is not even in the class, it is declared in main.cpp. So why is it pointing that it is first defined in int main and why are there multiple definition of the variable root, where clearly I just declared it on my constructor? And even if I delete my constructor, the error still persists, only pointing that there are multiple definition of 'root' in the proceeding line. The same is true whenever I delete the line where the error is pointing to.
Thanks
PS: text editor seems a little bit funny so I can't actually post my codes