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: Set Carbon or Cocoa Project to use C++



there is a "compile source as" build setting.
 
the default is according to file extension but u can set it otherwise. like for cocoa, if u want to be able to include a c++ class ( defined in a .cpp file ) in an objective c or an objective c++ file u will need to have this set to Objective-C++ for that work. if xcode is set to compile according to file extension this would not work.
 
jamie

Jesse Carpenter <email@hidden> wrote:
Little Advice Please:

If C++ is used for its capability of using operators, how would I create a
C++ project (carbon, cocoa, etc) when using XCode?

If I create a carbon project, do I simply change the suffix of the source
files from C to C++? How would I do it for Cocoa projects?

Thanks Jesse

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Set Carbon or Cocoa Project to use C++ (From: "Jesse Carpenter" <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.