Last active
December 22, 2015 21:49
-
-
Save whiskey/6535877 to your computer and use it in GitHub Desktop.
Revisions
-
whiskey renamed this gist
Sep 12, 2013 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,10 @@ // // main.m // POSIXmyAss // // Created by Carsten Witzke on 12.09.13. // #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) @@ -6,12 +13,14 @@ int main(int argc, const char * argv[]) @autoreleasepool { NSString *helloString = @"Hello, World!"; NSString *hello = @"Hello"; NSString *world = @"World"; NSLog(@"Hello, static World!"); NSLog(@"%@", helloString); NSLog(@"--- %2$@ %1$@", hello, world); // --- World Hello printf("hello POSIX world"); printf("%s",helloString.UTF8String); } return 0; } -
whiskey renamed this gist
Sep 12, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
whiskey revised this gist
Sep 12, 2013 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) -
whiskey created this gist
Sep 12, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { NSString *helloString = @"Hello, World!"; NSLog(@"Hello, static World!"); NSLog(@"%@", helloString); printf("hello POSIX world"); printf("%s",helloString.UTF8String); } return 0; }