Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // yoba.hpp:
- struct Yoba { void test(); }
- // yoba.cpp:
- Yoba::test() {}
- // test.hpp:
- class Yoba;
- void test(Yoba * x);
- // test.cpp:
- #include "test.hpp"
- #include "yoba.hpp"
- void test(Yoba * x)
- {
- x->test();
- }
Advertisement
Add Comment
Please, Sign In to add comment