This preview shows page 1. Sign up to view the full content.
Unformatted text preview: objects and look like such: a b c d e f g h i The addition of 2 matrices is just simply : a b c a b c a+a b+b c+c d e f + d e f = d+d e+e f+f g h i g h i g+g h+h i+i Matrices can be define in C++ by using an 2-d array. Using an 2-d array define a matrix structure and write a function that will get the sum of two matrices. 4. Write a function to print out the contents of your matrix. Test your functions by writing a test client program....
View Full Document
- Spring '10