• 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: OK to Use C++ Shorthand Constructs in a Cocoa Project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OK to Use C++ Shorthand Constructs in a Cocoa Project?


  • Subject: Re: OK to Use C++ Shorthand Constructs in a Cocoa Project?
  • From: Cameron Hayne <email@hidden>
  • Date: Thu, 3 Nov 2005 23:41:25 -0500

On 3-Nov-05, at 9:50 PM, Jerry Krinock wrote:

I was wondering if someone could
explain to me why C++ is not enabled in a new Cocoa project created by the
Assistant in Xcode?

Most people using Cocoa program in Objective-C, which is a superset of C, not of C++.
But you can use C++ if you want - you get Objective-C++ if you name your files with ".mm" suffixes.
You should read Apple's docs about mixing C++ and Objective-C.


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: OK to Use C++ Shorthand Constructs in a Cocoa Project?
      • From: John Stiles <email@hidden>
References: 
 >OK to Use C++ Shorthand Constructs in a Cocoa Project? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: predicateWithFormat: argumentArray:
  • Next by Date: Re: OK to Use C++ Shorthand Constructs in a Cocoa Project?
  • Previous by thread: OK to Use C++ Shorthand Constructs in a Cocoa Project?
  • Next by thread: Re: OK to Use C++ Shorthand Constructs in a Cocoa Project?
  • Index(es):
    • Date
    • Thread