Page 1 of 1

(Posted by Tayyab Jaffri) I have to create my own Customized 2d Array (Matrix ) class in c++, which includes three priva

Posted: Mon Jun 06, 2022 11:17 am
by answerhappygod
(Posted by Tayyab Jaffri)
I have to create my own Customized 2d Array (Matrix ) class in
c++, which includes three private variable int **matrix , int row ,
int col. I do not know how the default, parameterized and copy
constructors will work in it. Also i have to overload some
operators which include :
• subscript operator [ ]
• Insertion >> and Extraction <<
• Addition + and subtraction -
• Multiplication *
• += And -= operators
• () operator which returns value, includes parameter (rows ,
coloumns