PDA

View Full Version : C++ in Cocoa/Objective C



05-17-2004, 07:56 AM
How can I program C++ in a Cocoa/Objective C project with XCode ?

Is this even possible ?

I've read in some places about Objective C++, but I haven't figured out how to do this.

Any help would be greatly appreciated!

cg

arekkusu
05-17-2004, 09:17 AM
The .mm suffix will compile as Obj-C++.

But this question is not related to OpenGL. Google will find what you need to know:
http://cs.northwestern.edu/~josha/objcpp.htm

05-17-2004, 05:26 PM
thanks for the help!

Actually the reason I posted this was because I'm working with OpenGL. But I agree, the question is not OpenGL specific.

cg