No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]//I have a problem with my program, // the function rank to find rank of a matrix //cannot return the result //somebody help me to correct it! #include<iostream.h> #include<math.h> #include<iomanip.h> class matrix { int n,m; double A[6][6]; public: //..... friend int rank(matrix); }; int rank(matrix B) { int i, j, … |
|
/* I have a problem with my class matran, when I make "(A+B)*(D+E)" it's no result */ /* help me to correct it */ #include<iostream.h> #include<math.h> #include<iomanip.h> using namespace std; class matran { int n,m; double A[20][20]; public: void nhap(); void in(matran); matran operator+(matran); matran operator-(matran); matran operator*(matran); }; //////////////////////////////////////////////////////// … |