Created
August 30, 2012 14:54
-
-
Save frr149/3530103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, const char * argv[], const char *envp[], const char *apple[]) | |
{ | |
// insert code here... | |
NSLog(@"Printing argv:"); | |
for (int i = 0; i < argc; i++) { | |
NSLog(@"%s\n", argv[i]); | |
} | |
NSLog(@"Printing envp"); | |
for (int i = 0; envp[i]; i++) { | |
NSLog(@"%s", envp[i]); | |
} | |
NSLog(@"Printing Apple's deepest secrets"); | |
for (int i = 0; apple[i]; i++) { | |
NSLog(@"%s", apple[i]); | |
} | |
return 42; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment