class Teacher { public: void count(); }
class Calculate { private: int i,j1,j2; public: void calc(); }
如何让Teacher类能调用Calculate类中的calc()函数呢
继承或者申明对象