Carbon Programming/Getting started
Jump to navigation
Jump to search
This page or section is an undeveloped draft or outline. You can help to develop the work, or you can ask for assistance in the project room. |
Requirements[edit | edit source]
To use Carbon, you will need to know the C programming language.
Installation and usage[edit | edit source]
The Carbon framework can be used when you create a new project within XCode 2.5. XCode will auto-create the details and files within the project, as well as provide a basic event handler.
If you are using the command-line compiler, or are otherwise creating the application manually, the framework needs to be specified manually:
gcc -framework Carbon
Files that need to access the Carbon library must have the following include statement within the file:
#include <Carbon/Carbon.h>