Home > Back-end > Is there any way can solve the problem of multiple file reference each other
Is there any way can solve the problem of multiple file reference each other
Time:09-25
Recently in learning design patterns, the other two header files referenced problems, successfully settled through search engines, the result will use three header file reference each other, today don't know what to do, have great god know the solution,
CodePudding user response:
CodePudding user response:
Can't break it feel to be the infinite loop
CodePudding user response:
I am using stdafx. H header file, inside said earlier class XX;
CodePudding user response:
Define and implement separate written HPP split h CPP
CodePudding user response:
Using the interface, as far as possible is the relationship between modules is a tree, rather than the ring,
CodePudding user response:
Make sure you can each header file since the compiler through