• 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: int question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: int question


  • Subject: Re: int question
  • From: Hans Andersen <email@hidden>
  • Date: Tue, 5 Jun 2001 10:48:50 -0700

If you intend to program in Objective-C, it's really worthwhile having a strong background in regular ANSI C. Do yourself a favor and pick up the invaluable "The C Programming Language" by Brian W. Kernighan and Dennis M. Ritchie. argc and argv are discussed in section 5.10, "Command-line arguments"

-Hans Andersen

On Tuesday, June 5, 2001, at 09:25 AM, Brian Howard wrote:

Would someone be kind enough to explain what this line of code does:

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

I know it's declaring integer variables, but I can't find any reference to "argc" or "const char * argv[]", and I can find nothing to explain the use of the ().
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >int question (From: Brian Howard <email@hidden>)

  • Prev by Date: Re: int question
  • Next by Date: [NSApp setDelegate]
  • Previous by thread: int question
  • Next by thread: Re: int question
  • Index(es):
    • Date
    • Thread