Carbon Programming/Getting started

RequirementsEdit

To use Carbon, you will need to know the C programming language.

Installation and usageEdit

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 specfied 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>
Last modified on 28 June 2009, at 20:54