Re: int question
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>) |