7th Feb 2019, 1:32 PM
sina
sina - avatar
2 Answers
0
first of all thanks for your advice, i modified the code and it worked correct. second of all i dont quite understand some stuff here. 1. why do we get a copy of obj ninja in line 35 2.why do we have to pass a reference of the value of ninja to make it work. 3.is this problem because of protected access specifier?
7th Feb 2019, 2:58 PM
sina
sina - avatar
0
also whats the difference between: *e1 and &e
7th Feb 2019, 6:08 PM
sina
sina - avatar