• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bridging C++ to Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bridging C++ to Cocoa?


  • Subject: Re: Bridging C++ to Cocoa?
  • From: Graham Reitz <email@hidden>
  • Date: Sat, 17 Nov 2007 19:03:16 -0600

I included it in the main.m file to see what happens. Does it have to end in mm to compile C++ classes?

Ok, I had better go through some of the Cocoa tutorials.

graham


On Nov 17, 2007, at 6:55 PM, Shawn Erickson wrote:


On Nov 17, 2007, at 4:51 PM, Graham Reitz wrote:


I looked over some of the ogre examples and it almost looks like you can use C++ classes right in Object-c++. Is that right?

That is not right. I created a simple Cocoa application with the Xcode wizard and tried to import a really simple C++ class called test.hpp and the compiler had no idea what to do.


Any help would be greatly appreciated.

The objective-c file you include this C++ class in ends in .mm right? :)


-Shawn

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Bridging C++ to Cocoa?
      • From: Shawn Erickson <email@hidden>
References: 
 >Bridging C++ to Cocoa? (From: Graham Reitz <email@hidden>)
 >Re: Bridging C++ to Cocoa? (From: Filipe Varela <email@hidden>)
 >Re: Bridging C++ to Cocoa? (From: Graham Reitz <email@hidden>)
 >Re: Bridging C++ to Cocoa? (From: Graham Reitz <email@hidden>)
 >Re: Bridging C++ to Cocoa? (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Bridging C++ to Cocoa?
  • Next by Date: Re: Bridging C++ to Cocoa?
  • Previous by thread: Re: Bridging C++ to Cocoa?
  • Next by thread: Re: Bridging C++ to Cocoa?
  • Index(es):
    • Date
    • Thread