#pragma once #include "B.h" class A { private: B* _b; public: A(); virtual void setB(B &b); virtual void actie1(int n); };