RugnirViking

Untitled

Oct 19th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ClassA.h:
  2. #ifndef CLASS_A_H
  3. #define CLASS_A_H
  4. #include "ClassB.h"
  5. class ClassA{
  6. public:
  7. ClassB class_b;
  8. /// some other stuff
  9. }
  10. #endif // CLASS_A_H
  11.  
  12. ClassB.h:
  13. #ifndef CLASS_B_H
  14. #define CLASS_B_H
  15. #include "ClassB.h"
  16. class ClassB{
  17. public:
  18. ClassB class_b;
  19. /// some other stuff
  20. }
  21. #endif // CLASS_B_H
Advertisement
Add Comment
Please, Sign In to add comment