Re: Bridging C++ to Cocoa?
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