S
Snake
Hi guys,
I have question about classes.
when u create class called Test.
and you define variable Test c;
so does this act like( a variable c of type Test pointing to an abject )?
The thing that I am confused with java where you say Test c = new Test; whre
you can move this Test object around by saying "Test b" and then b = c;(so c
and b points to the same object).
while in c++ I think it has different meaning(like b would have different
object cloned from c)?
so would explain me the difference
I hope that you understood what I ment in this confusing question.
Thanx alot for ytour efforts guys. I really apprecuate any help.
Regards,
I have question about classes.
when u create class called Test.
and you define variable Test c;
so does this act like( a variable c of type Test pointing to an abject )?
The thing that I am confused with java where you say Test c = new Test; whre
you can move this Test object around by saying "Test b" and then b = c;(so c
and b points to the same object).
while in c++ I think it has different meaning(like b would have different
object cloned from c)?
so would explain me the difference
I hope that you understood what I ment in this confusing question.
Thanx alot for ytour efforts guys. I really apprecuate any help.
Regards,