Kambarys
- [1] 2017-11-04 14:10 (90)
- [2] 2017-11-04 14:12 (90)
- [3] 2017-11-16 20:47 (0)
- [4] 2017-11-16 20:49 (90)
- [5] 2018-10-27 14:10 (100)
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. | result | time | message |
---|