Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SourceWektor.cpp: In function 'void PlusWek(Wektor*, int)':
- SourceWektor.cpp:125:6: error: no match for 'operator=' (operand types are 'Wektor' and 'Wektor
- ')
- add = ((lista[0]) + (lista[1]));
- ^
- SourceWektor.cpp:125:6: note: candidate is:
- SourceWektor.cpp:44:9: note: Wektor& Wektor::operator=(Wektor&)
- Wektor &Wektor::operator=(Wektor &wek) {
- ^
- SourceWektor.cpp:44:9: note: no known conversion for argument 1 from 'Wektor' to 'Wektor&'
- SourceWektor.cpp: In function 'void MinusWek(Wektor*, int)':
- SourceWektor.cpp:136:6: error: no match for 'operator=' (operand types are 'Wektor' and 'Wektor
- ')
- sub = ((lista[0]) - (lista[1]));
- ^
- SourceWektor.cpp:136:6: note: candidate is:
- SourceWektor.cpp:44:9: note: Wektor& Wektor::operator=(Wektor&)
- Wektor &Wektor::operator=(Wektor &wek) {
- ^
- SourceWektor.cpp:44:9: note: no known conversion for argument 1 from 'Wektor' to 'Wektor&'
- SourceMatrix.cpp: In constructor 'Matrix::Matrix()':
- SourceMatrix.cpp:8:10: error: no match for 'operator=' (operand types are 'Wektor' and 'Wektor'
- )
- tab[i] = Wektor();
- ^
- SourceMatrix.cpp:8:10: note: candidate is:
- In file included from HeaderMatrix.h:3:0,
- from SourceMatrix.cpp:1:
- HeaderWektor.h:20:10: note: Wektor& Wektor::operator=(Wektor&)
- Wektor &operator=(Wektor &wek);
- ^
- HeaderWektor.h:20:10: note: no known conversion for argument 1 from 'Wektor' to 'Wektor&'
- SourceMatrix.cpp: In member function 'Matrix Matrix::operator+(Matrix&) const':
- SourceMatrix.cpp:90:10: error: no match for 'operator=' (operand types are 'Wektor' and 'Wektor
- ')
- arr[i] = (tab[i]) + (mat.Tab()[i]);
- ^
- SourceMatrix.cpp:90:10: note: candidate is:
- In file included from HeaderMatrix.h:3:0,
- from SourceMatrix.cpp:1:
- HeaderWektor.h:20:10: note: Wektor& Wektor::operator=(Wektor&)
- Wektor &operator=(Wektor &wek);
- ^
- HeaderWektor.h:20:10: note: no known conversion for argument 1 from 'Wektor' to 'Wektor&'
- SourceMatrix.cpp: In member function 'Matrix Matrix::operator-(Matrix&) const':
- SourceMatrix.cpp:100:10: error: no match for 'operator=' (operand types are 'Wektor' and 'Wekto
- r')
- arr[i] = (tab[i]) - (mat.Tab()[i]);
- ^
- SourceMatrix.cpp:100:10: note: candidate is:
- In file included from HeaderMatrix.h:3:0,
- from SourceMatrix.cpp:1:
- HeaderWektor.h:20:10: note: Wektor& Wektor::operator=(Wektor&)
- Wektor &operator=(Wektor &wek);
- ^
- HeaderWektor.h:20:10: note: no known conversion for argument 1 from 'Wektor' to 'Wektor&'
- SourceMatrix.cpp: In function 'void PlusMat(Matrix*, int)':
- SourceMatrix.cpp:147:6: error: no match for 'operator=' (operand types are 'Matrix' and 'Matrix
- ')
- add = ((lista[0]) + (lista[1]));
- ^
- SourceMatrix.cpp:147:6: note: candidate is:
- SourceMatrix.cpp:74:10: note: Matrix& Matrix::operator=(Matrix&)
- Matrix &Matrix::operator=(Matrix &mat){
- ^
- SourceMatrix.cpp:74:10: note: no known conversion for argument 1 from 'Matrix' to 'Matrix&'
- SourceMatrix.cpp: In function 'void MinusMat(Matrix*, int)':
- SourceMatrix.cpp:171:6: error: no match for 'operator=' (operand types are 'Matrix' and 'Matrix
- ')
- sub = ((lista[0]) - (lista[1]));
- ^
- SourceMatrix.cpp:171:6: note: candidate is:
- SourceMatrix.cpp:74:10: note: Matrix& Matrix::operator=(Matrix&)
- Matrix &Matrix::operator=(Matrix &mat){
- ^
- SourceMatrix.cpp:74:10: note: no known conversion for argument 1 from 'Matrix' to 'Matrix&'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement