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++



> but how do I from the Objective-C side
> call the C++ code that I want to use?

Simple answer: give your files the extension ".mm" and just do it.

Longer answer, covering embedding, inheritance, exceptions and so on:

<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articl
es/chapter_4_section_10.html>


-- 
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
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.