Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ClassA.h:
- #ifndef CLASS_A_H
- #define CLASS_A_H
- #include "ClassB.h"
- class ClassA{
- public:
- ClassB class_b;
- /// some other stuff
- }
- #endif // CLASS_A_H
- ClassB.h:
- #ifndef CLASS_B_H
- #define CLASS_B_H
- #include "ClassB.h"
- class ClassB{
- public:
- ClassB class_b;
- /// some other stuff
- }
- #endif // CLASS_B_H
Advertisement
Add Comment
Please, Sign In to add comment