Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>------ Build started: Project: matrix, Configuration: Debug Win32 ------
- 1> matrix.cpp
- 1>c:\reid\matrix\matrix.cpp(35): error C2143: syntax error : missing ';' before '+'
- 1>c:\reid\matrix\matrix.cpp(35): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(37): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(37): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(38): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(38): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(40): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(41): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(42): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(43): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(48): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(50): error C2617: 'operator +' : inconsistent return statement
- 1> c:\reid\matrix\matrix.cpp(35) : see declaration of 'operator +'
- 1>c:\reid\matrix\matrix.cpp(52): error C2143: syntax error : missing ';' before '-'
- 1>c:\reid\matrix\matrix.cpp(52): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(54): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(54): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(55): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(55): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(57): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(58): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(59): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(60): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(65): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(67): error C2617: 'operator -' : inconsistent return statement
- 1> c:\reid\matrix\matrix.cpp(52) : see declaration of 'operator -'
- 1>c:\reid\matrix\matrix.cpp(69): error C2143: syntax error : missing ';' before '*'
- 1>c:\reid\matrix\matrix.cpp(69): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(71): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(72): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(74): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(76): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(77): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(78): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(83): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(85): error C2617: 'operator *' : inconsistent return statement
- 1> c:\reid\matrix\matrix.cpp(69) : see declaration of 'operator *'
- 1>c:\reid\matrix\matrix.cpp(6): error C2084: function 'matrix::matrix(int,int)' already has a body
- 1> c:\reid\matrix\matrix.h(13) : see previous definition of '{ctor}'
- 1>c:\reid\matrix\matrix.cpp(18): error C2084: function 'void matrix::input(void)' already has a body
- 1> c:\reid\matrix\matrix.h(19) : see previous definition of 'input'
- 1>c:\reid\matrix\matrix.cpp(26): error C2084: function 'void matrix::out(void)' already has a body
- 1> c:\reid\matrix\matrix.h(21) : see previous definition of 'out'
- 1>c:\reid\matrix\matrix.cpp(35): error C2143: syntax error : missing ';' before '+'
- 1>c:\reid\matrix\matrix.cpp(35): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(36): error C2084: function 'int operator +(matrix)' already has a body
- 1> c:\reid\matrix\matrix.cpp(35) : see previous definition of '+'
- 1>c:\reid\matrix\matrix.cpp(37): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(37): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(38): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(38): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(40): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(41): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(42): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(52): error C2143: syntax error : missing ';' before '-'
- 1>c:\reid\matrix\matrix.cpp(52): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(53): error C2084: function 'int operator -(matrix)' already has a body
- 1> c:\reid\matrix\matrix.cpp(52) : see previous definition of '-'
- 1>c:\reid\matrix\matrix.cpp(54): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(54): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(55): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(55): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(57): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(58): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(59): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(69): error C2143: syntax error : missing ';' before '*'
- 1>c:\reid\matrix\matrix.cpp(69): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(70): error C2084: function 'int operator *(matrix)' already has a body
- 1> c:\reid\matrix\matrix.cpp(69) : see previous definition of '*'
- 1>c:\reid\matrix\matrix.cpp(71): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(72): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(74): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(76): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(77): error C2065: 'mat' : undeclared identifier
- 1> main.cpp
- 1>c:\reid\matrix\matrix.cpp(35): error C2143: syntax error : missing ';' before '+'
- 1>c:\reid\matrix\matrix.cpp(35): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(37): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(37): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(38): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(38): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(40): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(41): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(42): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(43): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(48): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(50): error C2617: 'operator +' : inconsistent return statement
- 1> c:\reid\matrix\matrix.cpp(35) : see declaration of 'operator +'
- 1>c:\reid\matrix\matrix.cpp(52): error C2143: syntax error : missing ';' before '-'
- 1>c:\reid\matrix\matrix.cpp(52): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(54): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(54): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(55): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(55): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(57): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(58): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(59): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(60): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(65): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(67): error C2617: 'operator -' : inconsistent return statement
- 1> c:\reid\matrix\matrix.cpp(52) : see declaration of 'operator -'
- 1>c:\reid\matrix\matrix.cpp(69): error C2143: syntax error : missing ';' before '*'
- 1>c:\reid\matrix\matrix.cpp(69): error C2761: '{ctor}' : member function redeclaration not allowed
- 1>c:\reid\matrix\matrix.cpp(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
- 1>c:\reid\matrix\matrix.cpp(71): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(72): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(74): error C2065: 'nRow' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(76): error C2065: 'nColumn' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(77): error C2065: 'mat' : undeclared identifier
- 1>c:\reid\matrix\matrix.cpp(78): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(83): error C2440: 'return' : cannot convert from 'matrix' to 'int'
- 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
- 1>c:\reid\matrix\matrix.cpp(85): error C2617: 'operator *' : inconsistent return statement
- 1> c:\reid\matrix\matrix.cpp(69) : see declaration of 'operator *'
- 1> Generating Code...
- ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment