Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
NSArray *args = [[NSProcessInfo processInfo] arguments];
|
||||
NSLog(@"This program is named %@.", [args objectAtIndex:0]);
|
||||
NSLog(@"There are %d arguments.", [args count] - 1);
|
||||
for (i = 1; i < [args count]; ++i){
|
||||
NSLog(@"the argument #%d is %@", i, [args objectAtIndex:i]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue