#pragma once #include "A.h" class B : public A{ private: int i; public: B(){} B(int n) : i(n), A(n*n) {}; std::string h(); };