Logo 
Search:

C++ Programming Forum

Ask Question   UnAnswered
Home » Forum » C++ Programming       RSS Feeds

want d program for this question.

  Asked By: MOHAMMED    Date: Apr 30    Category: C++ Programming    Views: 407
  

Create a class called Matrix containing “row”, “col” as integers and include
functions in the class for the following specifications. Use new and delete
operators to allocate memory dynamically depending on row and column
values.(Objective of this program is to use all the three types of Constructors)
i. Default Constructor to initialize the row and column to 2.
ii. One Parameter Constructor to initialize the row and column leading
to a Square Matrix.
iii. Two Parameter Constructor to initialize row and column.
iv. Copy Constructor to initialize a Matrix.
v. Destructor to deallocate the memory.
vi. Functions to read from standard input and write to standard output.
vii. Function to add and multiply two Matrices.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on want d program for this question. Or get search suggestion and latest updates.




Tagged: