Hello World for C in Xcode
Feb. 9, 2017 | smlee36 | #seneca, #c, #beginner, #xcode, #helloworld, #Raphael
This is an ultra simple tutorial for making 'Hello World' c program in Xcode.
TOC
Run Xcode
- Run Xcode 'Application > Xcode'

- Choose 'Create a new Xcode project'

- Choose 'OS X > Application > Command Line Tool' then press

- Fill in the Blanks like an example. Choose Language 'C'.

- Now, you can see the windows where your project will be saved.
Press 'New Folder' at left bottom of window and write 'workspace' and 'Create'
and 'Create'.

- Now Xcode is ready to start. Click 'main.c' on left pane.

- There are already coded to display "Hello, World!".

- Choose 'Product > Run' (⌘ + R), the output will be showed bottom window.
Preference to Show Line Numbers
- Choose 'Xcode > Preperences' (⌘ + ,) and select 'Text editing'.
- Check 'Line numbers'

- Now line numbers are displayed on code pane.
