C++ Access derived class member from base class pointer
- by Peter
class Base
{
public:
int base_int;
};
class Derived : Base
{
public:
int derived_int
};
Base* basepointer;
basepointer-> //Access derived_int here, is it possible? If so, then how?