title: C++ create 2 classes where 2nd class inherits the first class and construction function runs in class which is creating object
body: <p>Is this possible to create in C++ or it is impossible?
  2 classes-> 2nd class inherits first one and then construction function which runs in the class where Im creating the object.</p>