All pastes #757905 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-01 19:00 UTC
rendered paste body
zsak.h:21: error: 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:22: error: 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:33: error: invalid declarator before 'lista'
zsak.h:34: error: 'lista_iterator' does not name a type
zsak.h:38: error: expected primary-expression before 'unio'
zsak.h:38: error: ISO C++ forbids declaration of 'type name' with no type
zsak.h:38: error: '' is neither function nor member function; cannot be declared friend
zsak.h:38: error: expected ';' before 'unio'
zsak.cpp:122:2: warning: no newline at end of file
zsak.h:21: error: 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:22: error: 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>&)' must take exactly one argument
zsak.h:33: error: invalid declarator before 'lista'
zsak.h:34: error: 'lista_iterator' does not name a type
zsak.h:38: error: expected primary-expression before 'unio'
zsak.h:38: error: ISO C++ forbids declaration of 'type name' with no type
zsak.h:38: error: '' is neither function nor member function; cannot be declared friend
zsak.h:38: error: expected ';' before 'unio'
zsak.cpp:5: error: prototype for 'void Zsak<ElemTipus>::add(ElemTipus&, int)' does not match any in class 'Zsak<ElemTipus>'
zsak.h:18: error: candidate is: bool Zsak<ElemTipus>::add(ElemTipus&, int)
zsak.cpp:5: error: template definition of non-template 'void Zsak<ElemTipus>::add(ElemTipus&, int)'
zsak.cpp: In member function 'void Zsak<ElemTipus>::add(ElemTipus&, int)':
zsak.cpp:16: error: expected unqualified-id before '.' token
zsak.cpp:17: error: expected unqualified-id before '.' token
zsak.cpp:18: error: 'lista' was not declared in this scope
zsak.cpp:18: error: expected primary-expression before ')' token
zsak.cpp:19: error: expected unqualified-id before '.' token
zsak.cpp: At global scope:
zsak.cpp:24: error: prototype for 'void Zsak<ElemTipus>::remove(ElemTipus&)' does not match any in class 'Zsak<ElemTipus>'
zsak.h:19: error: candidate is: bool Zsak<ElemTipus>::remove(ElemTipus&)
zsak.cpp:24: error: template definition of non-template 'void Zsak<ElemTipus>::remove(ElemTipus&)'
zsak.cpp: In member function 'void Zsak<ElemTipus>::remove(ElemTipus&)':
zsak.cpp:35: error: 'Lista_iterator' was not declared in this scope
zsak.cpp: In member function 'int Zsak<ElemTipus>::mul(ElemTipus&)':
zsak.cpp:50: error: expected primary-expression before '.' token
zsak.cpp: At global scope:
zsak.cpp:55: error: 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)' must take exactly one argument
zsak.cpp:55: error: prototype for 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)' does not match any in class 'Zsak<ElemTipus>'
zsak.h:21: error: candidate is: std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>&)
zsak.cpp:55: error: template definition of non-template 'std::istream& Zsak<ElemTipus>::operator>>(std::istream&, Zsak<ElemTipus>)'
zsak.cpp:64: error: 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)' must take exactly one argument
zsak.cpp:64: error: prototype for 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)' does not match any in class 'Zsak<ElemTipus>'
zsak.h:22: error: candidate is: std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>&)
zsak.cpp:64: error: template definition of non-template 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)'
zsak.cpp: In member function 'std::ostream& Zsak<ElemTipus>::operator<<(std::ostream&, Zsak<ElemTipus>)':
zsak.cpp:74: error: expected primary-expression before 'template'
zsak.cpp:74: error: expected `;' before 'template'
zsak.cpp:114: error: expected primary-expression before 'template'
zsak.cpp:114: error: expected `;' before 'template'
zsak.cpp:122: error: expected `}' at end of input
zsak.cpp:122: error: expected `}' at end of input