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(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(20) : 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(22) : see previous definition of 'out'
- 1>c:\reid\matrix\matrix.cpp(36): error C2084: function 'matrix matrix::operator +(matrix)' already has a body
- 1> c:\reid\matrix\matrix.h(24) : see previous definition of '+'
- 1>c:\reid\matrix\matrix.cpp(37): error C2264: 'matrix::matrix' : error in function definition or declaration; function not called
- 1>c:\reid\matrix\matrix.cpp(53): error C2084: function 'matrix matrix::operator -(matrix)' already has a body
- 1> c:\reid\matrix\matrix.h(26) : see previous definition of '-'
- 1>c:\reid\matrix\matrix.cpp(54): error C2264: 'matrix::matrix' : error in function definition or declaration; function not called
- 1>c:\reid\matrix\matrix.cpp(70): error C2084: function 'matrix matrix::operator *(matrix)' already has a body
- 1> c:\reid\matrix\matrix.h(28) : see previous definition of '*'
- 1>c:\reid\matrix\matrix.cpp(71): error C2264: 'matrix::matrix' : error in function definition or declaration; function not called
- 1> Generating Code...
- 1> Compiling...
- 1> main.cpp
- 1> Generating Code...
- ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment