class Base { public: int i; Base() { cout<<\"Base Constructor\"<
you should read this: it explain how inheritance & special members like constructors are working.