Re: newbie pointer dilemma...
Re: newbie pointer dilemma...
- Subject: Re: newbie pointer dilemma...
- From: Ondra Cada <email@hidden>
- Date: Sat, 31 Aug 2002 16:00:13 +0200
On Saturday, August 31, 2002, at 04:54 , Jonas Roel wrote:
Can someone cogently differentiate between these two types of pointers:
NSRect *xyz;
&
NSRect xyz;
The latter is not pointer at all. For details, do read some good C
reference -- in my opinion, the old Kernighan/Ritchie is still the best.
In Cocoa, you mostly use struct values, not pointers, ie. "NSRect foo" is
more common than "NSRect *foo".
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.