#include "B.h" #include std::string B::h(){ std::stringstream ss; ss<< "B::h-" << i << " " << A::f(); return ss.str(); }