• 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: Problem with allocating memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with allocating memory


  • Subject: Re: Problem with allocating memory
  • From: BJ Homer <email@hidden>
  • Date: Tue, 27 Oct 2009 21:41:16 -0600

>
>
> > NSLog(@"%d", &myString);
>

Change this line to:

NSLog(@"%p", myString);

that will print the value of the pointer, which you'll see changing.

-BJ
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problem with allocating memory (From: Michael Abendroth <email@hidden>)
 >Re: Problem with allocating memory (From: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: Re: Problem with allocating memory
  • Next by Date: Re: [iPhone] Why so many calls?
  • Previous by thread: Re: Problem with allocating memory
  • Next by thread: Re: Problem with allocating memory
  • Index(es):
    • Date
    • Thread