Introduction - If you have any usage issues, please Google them yourself
2, matrix (2)
The preparation of C++ program to accomplish the following functions:
(1) assumes that matrix size of 4 × 5 (integer)
(2) matrix space with new dynamic applications, stored in the pointer
(3) defines the matrix initialization function, you can enter the matrix elements from the cin
(4) defines the matrix of output function, the matrix format the output to cout
(5) defines the matrix, the sum of the function, the sum of two matrices to achieve the functions of a matrix stored in another
(6) defines a function of matrix subtraction, subtract two matrices to achieve the function, the results stored in another matrix
(7) dynamic applications for three matrices: A1, A2, A3
(8) to initialize A1, A2
(9) to calculate and output of A3 = A1 plus A2, A3 = A1 by A2
(10) release matrix space.