Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing Objective-C and C++




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.


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________ 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

This email sent to email@hidden
References: 
 >Mixing Objective-C and C++ (From: "Jason T. Slack" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.