I was trying to create this program in c++...
a program to add two upper triangular matrix. The program uses a linked-node data structure meaning it uses “column nodes” to store matrix values, and “row nodes” to link the different rows together, and to access all “column nodes” of a particular row. And each row or column node contains an indicator to the corresponding row-index or column-index of the matrix.
Requirements: 1. It needs to have a constructor. 2. Input funtion to allow user to input the on-zero elements of the matrix 3. Display content of the matrix 4. sum function to sum two upper triangular matrix. 5. A destructor to free the dynamic memory allocated for a matrix. and of course the main function also.
I'm new to c++ I really appreciate your HELP thank you.
Aucun commentaire:
Enregistrer un commentaire