• 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
Standard Tool Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Standard Tool Question


  • Subject: Standard Tool Question
  • From: Michael <email@hidden>
  • Date: Thu, 12 Apr 2007 13:45:26 -0700

May I ask a question of the group.
I am slowly working my way through K&RII.  I have found debugging immensely useful in this process.

My question is this.


Given the following code ( From New Project/Standard tool)

>>>

#include <stdio.h>

int main (int argc,  char * argv[]) {

while ( argc -- > 0)

printf((argc > 1) ? "%s ":"%s", *++argv);

printf("\n");

   

    return 0;
}

<<<<<

How can I supply the necessary arguments and use debugger to step through and watch line by line?

( The example used in K&R is the program Echo( Hello World), Argc = 3);


Thank you in advance.

 _______________________________________________
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: Standard Tool Question
      • From: Alexander von Below <email@hidden>
  • Prev by Date: Re: SenTestCase order?
  • Next by Date: Re: Standard Tool Question
  • Previous by thread: Re: SenTestCase order?
  • Next by thread: Re: Standard Tool Question
  • Index(es):
    • Date
    • Thread