Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 18th, 2011  |  syntax: C++  |  size: 0.33 KB  |  views: 68  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /**** testA.h ****/
  2.  
  3. #ifndef __TESTA__
  4. #define __TESTA__
  5.  
  6. #include "testB.h"
  7.  
  8. class testA
  9. {
  10. public:
  11.         testA(void);
  12.         ~testA(void);
  13.        
  14.         testB __;
  15. };
  16.  
  17. #endif
  18.  
  19. /**** testB.h ****/
  20.  
  21. #ifndef __TESTB__
  22. #define __TESTB__
  23.  
  24. #include "testA.h"
  25.  
  26. class testB
  27. {
  28. public:
  29.         testB(void);
  30.         ~testB(void);
  31.  
  32.         testA __;
  33. };
  34.  
  35. #endif