< Carbon Programming
Requirements
To use Carbon, you will need to know the C programming language.
Installation and usage
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>
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.