Created
January 20, 2013 04:52
-
-
Save taishi41228/4576732 to your computer and use it in GitHub Desktop.
「hello world」を表示するC言語の初歩的なプログラム。入門書でよく見られる。
This file contains 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
#include <stdio.h> | |
int main(int argc, char *argv[]) { | |
printf("hello world\n"); // 「hello world」を表示し, 改行を一度行う. | |
return 0; | |
} |
This file contains 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
#import <Foundation/Foundation.h> | |
int main(int argc, char *argv[]) { | |
@autoreleasepool { | |
NSLog("hello world"); //「hello world」を表示し, 改行を一度行う. | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment