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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 ) .
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply