Guest User

Untitled

a guest
Jun 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include impl.h //does not know where to find definitions?
  2.  
  3. class inter{
  4. public:
  5. virtual ~inter(){};
  6. virtual void open() = 0;
  7. }
  8.  
  9. #include "inter.h"
  10. class impl : public inter{
  11. public:
  12. virtual void open();
  13. }
  14.  
  15. #include "impl.h"
  16. void impl::open(){
  17. //does nothing
  18. int a = 3;
  19. }
Add Comment
Please, Sign In to add comment