c++ - Template matrix with char* consol stop responding when using operator= -
i need help. first hugh program in c++ (pointers nightmare). tried , can't find did wrong. class aghmatrix { private: t ** matrix; int n; int m; public: aghmatrix() : n(0), m(0) {}; aghmatrix(int _n, int _m); aghmatrix(const aghmatrix& other); ~aghmatrix(); void setitem(int n, int m, t item); void setitems (t * wsk); void setitems(int r, int c ...); void setall(); void getall(); bool couldbeadded(char * word, char sign); bool equals (t first, t second); t operator()(int a, int b); aghmatrix<t> & operator+(const aghmatrix<t> & other); aghmatrix<t> & operator*(const aghmatrix<t> & other); aghmatrix<t> & operator= ( const aghmatrix<t> & other); bool operator== (const aghmatrix<t> & other); bool operator!= (const aghmatrix<t> & other); }; test : char* cpt[] = {"to", "jest...