#include "b.h" #include void B::p() { int sm = this->retNum() + this->retPlus() + js; std::cout << sm << std::endl; } std::ostream& operator<<(std::ostream& os, B& x){ os << x.js << " "; return os; }