我如何为mac编程

时间:2022-10-02 20:29:15

Hello,

你好,

I want to program for a mac.

我想为mac编程。

I already know some program languages like c

我已经知道一些程序语言,比如c

Does this work on a mac?

这适用于Mac吗?

main()
{ printf("hello world");}

Thank you very much

非常感谢你

1 个解决方案

#1


0  

Yes, you can use C programming language on Mac. The main programming language on Mac OS X is Objective-C, which is based on C language.

是的,您可以在Mac上使用C编程语言。 Mac OS X上的主要编程语言是Objective-C,它基于C语言。

You can download Xcode from the AppStore and start developing your own application. C is perfectly fine, as it is subset of Objective-C.

您可以从AppStore下载Xcode并开始开发自己的应用程序。 C非常好,因为它是Objective-C的子集。

I suggest you to start here: http://www.cocoalab.com/?q=becomeanxcoder it is little outdated, but you will get the basic idea.

我建议你从这里开始:http://www.cocoalab.com/?q = becomeanxcoder它有点过时,但你会得到基本的想法。

#1


0  

Yes, you can use C programming language on Mac. The main programming language on Mac OS X is Objective-C, which is based on C language.

是的,您可以在Mac上使用C编程语言。 Mac OS X上的主要编程语言是Objective-C,它基于C语言。

You can download Xcode from the AppStore and start developing your own application. C is perfectly fine, as it is subset of Objective-C.

您可以从AppStore下载Xcode并开始开发自己的应用程序。 C非常好,因为它是Objective-C的子集。

I suggest you to start here: http://www.cocoalab.com/?q=becomeanxcoder it is little outdated, but you will get the basic idea.

我建议你从这里开始:http://www.cocoalab.com/?q = becomeanxcoder它有点过时,但你会得到基本的想法。