Say I have two classes like so:
controller.hpp (included by controller.cpp)
#include "testing.hpp"
class controller
{
public:
testing _testing; // call constructor
}
testing.hpp
class testing
{
public:
testing();
~testing();
}
How do I call the destructor of testing
and re-construct it from controller.cpp? Thank you.