I want a pure virtual parent class to call a child implementation of a function like so:
class parent
{
public:
void Read() { //read stuff }
virtual vo
It's because your call is in the constructor. The derived class will not be valid until the constructor has completed so you compiler is right in dinging you for this.
There are two solutions:
class parent
{
public:
void Read() { //read stuff }
virtual void Process() { }
parent()
{
Read();
Process();
}
}