Re: Please help me with this simple program.
You can't. At the time the CFather ctor is called, the object is not yet a CSon - the vtable hasn't been set up and the virtual function mechanism doesn't work.
How you get around it depends heavily on what you actually want to do in your InitInstance. Most of the time, virtual init methods are not necessary if your class hierarchy is designed well.
He who breaks a thing to find out what it is, has left the path of wisdom - Gandalf
Correct is better than fast. Simple is better than complex. Clear is better than cute. Safe is better than insecure.
-- Sutter and Alexandrescu, C++ Coding Standards
Programs must be written for people to read, and only incidentally for machines to execute.
-- Harold Abelson and Gerald Jay Sussman
The cheapest, fastest and most reliable components of a computer system are those that aren't there.
-- Gordon Bell