matrice & operator +(matrice&); => matrice operator +(matrice&);
mat.cc: In function ‘std::ostream& operator<<(std::ostream&, matrice&)’:
mat.cc:14:11: warning: unused variable ‘a’
mat.cc: In constructor ‘matrice::matrice(unsigned int, unsigned int)’:
mat.cc:26:14: warning: comparison of unsigned expression >= 0 is always true
mat.cc:27:16: warning: comparison of unsigned expression >= 0 is always true
mat.cc: In constructor ‘matrice::matrice(int**, unsigned int, unsigned int)’:
mat.cc:37:14: warning: comparison of unsigned expression >= 0 is always true
mat.cc:38:16: warning: comparison of unsigned expression >= 0 is always true
mat.cc: In member function ‘matrice& matrice::operator+(matrice&)’:
mat.cc:63:17: warning: reference to local variable ‘add’ returned
mat.cc: In member function ‘matrice& matrice::operator-(matrice&)’:
mat.cc:77:19: warning: reference to local variable ‘sous2’ returned
mat.cc: In member function ‘matrice& matrice::operator*(int)’:
mat.cc:87:16: warning: reference to local variable ‘mult’ returned
mat.cc: In member function ‘matrice& matrice::operator*(matrice&)’:
mat.cc:97:19: warning: reference to local variable ‘mult2’ returned
mat.cc: In member function ‘matrice& matrice::revenus(matrice&)’:
mat.cc:106:15: warning: reference to local variable ‘newr’ returned
mat.cc: At global scope:
mat.cc:115:22: error: ‘_TCHAR’ has not been declared
mat.cc: In function ‘int _tmain(int, int**)’:
mat.cc:193:17: error: ‘system’ was not declared in this scope
mat.cc: At global scope:
mat.cc:115:5: warning: unused parameter ‘argc’
mat.cc:115:5: warning: unused parameter ‘argv’
mat.cc: In member function ‘matrice& matrice::operator*(matrice&)’:
mat.cc:104:1: warning: control reaches end of non-void function
mat.cc: In member function ‘matrice& matrice::operator-(matrice&)’:
mat.cc:85:1: warning: control reaches end of non-void function
mat.cc: In member function ‘matrice& matrice::operator+(matrice&)’:
mat.cc:71:1: warning: control reaches end of non-void function
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question