C++ in Cocoa/Objective C

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

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

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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.