Home >Backend Development >C#.Net Tutorial >How to write c language in xcode

How to write c language in xcode

angryTom
angryTomOriginal
2020-03-04 16:02:5710242browse

If you are writing a program on an Apple computer for the first time, do you feel that it is very novel? Today I will briefly introduce to you the method of writing C language in Xcode on Apple computers.

How to write c language in xcode

How to write c language in xcode

1. Click the launcher icon and find Xcode in the pop-up interface (if not, please Install in the App Store)

Recommended learning: c language video tutorial

How to write c language in xcode

2. Click Xcode in the pop-up window Select Create a new Xcode project on the left and click

How to write c language in xcode

3. Select OS

How to write c language in xcode

4. As shown in the figure, fill in the name of the program to be written in Product Name, and select the type of programming language to be written in Language, including c language, c, and oc. For everyone The demonstration is in C language. Select C language, click next, create

How to write c language in xcode

5. As shown in the figure, select main under the folder of the C language program you created. c. Program on the right. There is already an initial program on the right.

How to write c language in xcode

#6. After writing the program, select run and you will see it in the box below the program. To the running results, as shown in the figure

How to write c language in xcode

For more Introduction to Programming tutorials, please pay attention to the PHP Chinese website

The above is the detailed content of How to write c language in xcode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more