• 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: Mixing C++ and Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing C++ and Obj-C


  • Subject: Re: Mixing C++ and Obj-C
  • From: Dave Carrigan <email@hidden>
  • Date: Sat, 16 Jan 2010 10:57:21 -0800

On Jan 16, 2010, at 10:53 AM, James Pengra wrote:

>    In an effort to work with Core Audio I want to write a Cocoa program that includes C++ classes.

Rename your file to be .mm instead of .m. Files with the .mm extension are compiled as objective-c++.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mixing C++ and Obj-C
      • From: "Paul Sanders" <email@hidden>
References: 
 >Mixing C++ and Obj-C (From: James Pengra <email@hidden>)

  • Prev by Date: Mixing C++ and Obj-C
  • Next by Date: Re: Mixing C++ and Obj-C
  • Previous by thread: Mixing C++ and Obj-C
  • Next by thread: Re: Mixing C++ and Obj-C
  • Index(es):
    • Date
    • Thread