Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

第 29 章 Objective-C

$ sudo apt-get install gobjc gobjc++

$ sudo apt-get install gnustep-make
    

例 29.1. Objective-C hello world

        
$ cat hello.m
#import <stdio.h>

int main( int argc, const char *argv[] ) {
    printf( "hello world\n" );
    return 0;
}
		
        

$ gcc hello.m

$ ./a.out
hello world