• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie pointer dilemma...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: newbie pointer dilemma...
      • From: Timothy Ritchey <email@hidden>
References: 
 >newbie pointer dilemma... (From: Jonas Roel <email@hidden>)

  • Prev by Date: Accessing array from class [newbie]
  • Next by Date: Re: NSPopUpButton disabled items won't stay disabled
  • Previous by thread: RE: newbie pointer dilemma...
  • Next by thread: Re: newbie pointer dilemma...
  • Index(es):
    • Date
    • Thread