Xcode and C++ General Usage

This page is just a collection of tidbits that I need to remember and others might find useful. Right now I am using Xcode 3.0 so I don’t know if anything written here is applicable to other versions of Xcode.

C++ Stuff:

Including header files from a Framework
FORMAT: ‘#include <FRAMEWORK/HEADER>
To include the SDL.h file from the SDL.framework in /Library/Frameworks/SDL.framework
#include <SDL/SDL.h>
To get the window to see the program’s output goto the Run tool bar drop down and then Console or use Shift + Command + R