Guest User

Untitled

a guest
Nov 16th, 2014
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. // yoba.hpp:
  2. struct Yoba { void test(); }
  3. // yoba.cpp:
  4. Yoba::test() {}
  5.  
  6. // test.hpp:
  7. class Yoba;
  8.  
  9. void test(Yoba * x);
  10. // test.cpp:
  11. #include "test.hpp"
  12. #include "yoba.hpp"
  13.  
  14. void test(Yoba * x)
  15. {
  16.    x->test();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment