What\'s the difference between the following two declarations?
virtual void calculateBase() = 0;
virtual void calculateBase();
I read the fir
First one is called a pure virtual function. Normally pure virtual functions will not have any implementation and you can not create a instance of a class containing a pure virtual function.
Second one is a virtual function (i.e. a 'normal' virtual function). A class provides the implementation for this function, but its derived class can override this implementation by providing its own implementation for this method.