Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: C++ in Cocoa/Objective C

  1. #1
    Guest

    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

  2. #2
    Advanced Member Frequent Contributor arekkusu's Avatar
    Join Date
    Nov 2003
    Posts
    676

    Re: C++ in Cocoa/Objective C

    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

  3. #3
    Guest

    Re: C++ in Cocoa/Objective C

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •