#ifndef BASE_H #define BASE_H #include //for the object cout using namespace std; class base { private: int b; public: base(int init_b): b {init_b} {} ~base() {} void print() const {cout << b;} //Adequate for class base. }; #endif