Kambarys

Taškai: 0

Compile: FAIL

kambarys.cpp: In member function ‘trupmena trupmena::sum(trupmena)’: kambarys.cpp:28:35: error: request for member ‘skaitiklis’ in ‘(trupmena*)this’, which is of pointer type ‘trupmena*’ (maybe you meant to use ‘->’ ?) if(a.skaitiklis != 0 && this.skaitiklis != 0) { ^ kambarys.cpp:31:30: error: no matching function for call to ‘trupmena::suprastinti(trupmena*)’ return suprastinti(this); ^ kambarys.cpp:37:14: note: candidate: trupmena trupmena::suprastinti(trupmena) trupmena suprastinti(trupmena a) { ^ kambarys.cpp:37:14: note: no known conversion for argument 1 from ‘trupmena*’ to ‘trupmena’ kambarys.cpp:33:24: error: ‘suprastinit’ was not declared in this scope return suprastinit(a); ^

nr.resulttimemessage