On Nov 7, 2006, at 11:56 AM, Jason T. Slack wrote:
I know that I can bring the QT Frameworks into XCode and write
some code and link against them, but how do I from the Objective-C
side call the C++ code that I want to use?
Change the source code extension from .m to .mm. Then the compiler
will treat the source as an Obj-C++ file.
And to expound on that -- Objective-C is just C with an object
facility added. Being so, you can call C++ the way you would call it
from any C program.
Chad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden