compiler cannot recognize my class in c++ – cyclic dependency
As i said in the comment, the problem is due to cyclic dependency. In particular, your Student.hpp includes –> Grad.hpp which in turn includes –> Core.hpp which finally includes –> Student.hpp So as you can see from above, you ended up where you started, namely at Student.hpp. This is why it is called cyclic dependency. … Read more