Directory of this document
- 1. Open Xcode and create a new Xcode project
- 2. Select the simplest command line item
- 3. Enter project information
- 4. Select a folder to hold the C program code
- 5. Run the project
Description: This C language topic is the prelude to learning iOS development. And for programmers with an object-oriented language development experience, you can quickly get started with C language. If you don't have programming experience, or are not interested in C or iOS development, please ignore
As we end up learning iOS development, we use Xcode under the Mac platform to build the C language development environment instead of using Windows systems
If you are in the Windows environment, you can download this simple C-language learning tool: C + + programming learning and experimentation system or download Microsoft Visual C + +, this is a little professional, heavyweight
Back to top 1. Open Xcode and create a new Xcode project
Back to top 2. Select the simplest command line item
Back to top 3. Enter project information
- Organization name and company identifier can be casually written, no impact on Project C
- Use Automatic Reference counting this option only has an impact on OC projects, no impact on Project C
Back to top 4. Select a folder to hold the C program code
Back to top 5. Run the project
, the result is: (View the output of the console)
Like the HelloWorld program in other languages, the word "Hello, world!" is output on the console.
"C Language" 02-the first C program