#include <string> class aa...{ public : aa(); aa(const aa & ob); private: char *ch; }; aa::aa(const aa & ob) ...{ strcpy(ch,ob.ch); } aa::aa()...{} |
class bb...{ public : bb(); bb(const aa & ob); private: char *ch; }; bb::bb(const aa & ob) ...{ strcpy(ch,ob.ch); } bb::bb()...{} |