In our latest installment of "why not to program in C++," let's take a look at a simple class hierarchy:
class Duck {
public:
Duck() {
InitializeMigratoryRoute();
}
// Default behavior is nonmigratory; this is overridden in the Mallard class
(
Read more... )