#include #include #include #include class cmt { private: char *so; char *ten; int nam; public: cmt(); ~cmt(); cmt & operator = (cmt &); friend ostream & operator > (istream & is, cmt &); int namsinh(); }; cmt::cmt() { so= new char[11]; nam=0; ten= new char[25]; }; cmt::~cmt() { delete so; nam=0; delete ten; }; cmt&cmt:: operator = ( cmt &a) { so = new char [11]; ten = new char [25]; strcpy(so,a.so); nam=a.nam; strcpy(ten,a.ten); return a; }; ostream & operator