Re: working with pointers
- From: Dave Brueck <dave@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 May 2005 13:01:12 -0600
Michael wrote:
sorry, I'm used to working in c++ :-p
if i do a=2 b=a b=0 then a is still 2!?
so when do = mean a reference to the same object
Always.
and when does it mean make a copy of the object??
Never.
-Dave .
- Follow-Ups:
- Re: working with pointers
- From: Michael
- Re: working with pointers
- References:
- working with pointers
- From: Michael
- Re: working with pointers
- From: Steven Bethard
- Re: working with pointers
- From: Michael
- working with pointers
- Prev by Date: Re: working with pointers
- Next by Date: Re: working with pointers
- Previous by thread: Re: working with pointers
- Next by thread: Re: working with pointers
- Index(es):