• 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: Pointers and arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pointers and arrays


  • Subject: Re: Pointers and arrays
  • From: Laurence Harris <email@hidden>
  • Date: Sun, 15 Oct 2006 14:00:12 -0400


On Oct 15, 2006, at 7:28 AM, Michael wrote:

May I ask this.
Using the Standard Tool.
If main() contains integer/char array i[].
If function sub_main() contains a pointer to i, how can I see the array (not the pointer) in the debugger, other than clicking on "main", in sub_main(). In other words, I wish to step through the code in sub_main and watch how the array changes.
Thanks in advance.

Do you really need to pass a pointer to i instead of i itself?

Larry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Pointers and arrays
      • From: "Michael" <email@hidden>
References: 
 >Pointers and arrays (From: "Michael" <email@hidden>)

  • Prev by Date: Pointers and arrays
  • Next by Date: Re: Pointers and arrays
  • Previous by thread: Pointers and arrays
  • Next by thread: Re: Pointers and arrays
  • Index(es):
    • Date
    • Thread