• 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: Objective-C++ or C bridge?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C++ or C bridge?


  • Subject: Re: Objective-C++ or C bridge?
  • From: Jason Batchelor <email@hidden>
  • Date: Sat, 2 Feb 2002 14:31:09 -0500

Okay, yes, I'm a complete and utter newbie at programming on a Mac, but I'd really like to get off on the right foot in learning how to do so. I've seen mentions made of the following:
Objective-C
C
C++
and now,
Objective-C++

Can anyone point me to a good guide as to the differences between the above? For someone with no C/C++ experience, where would be the best place to start, and what language would be the best bet to start learning first?

Thanks,

Jason M. Batchelor

On Saturday, February 2, 2002, at 11:59 AM, Andreas Monitzer wrote:

On Saturday, February 2, 2002, at 05:26 , Joe Chang (l%l,m8) wrote:

I was looking for a right way to calling C++ code from Objective-C code and I remember this had been discussed before. However, I'm still wondering what is the best way to do this. Should I use Objective-C++, or the Apple's C bridge method?
To use Objective-C++, I should install its compiler first... am I right? or am I missing something?

That compiler is already included with the latest dev tools (Dec 2001). Just name your file .mm instead of .m or .cc/.cpp/.c++, and it should work.

andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Objective-C++ or C bridge?
      • From: Lance Bland <email@hidden>
    • Re: Objective-C++ or C bridge?
      • From: Bob Savage <email@hidden>
References: 
 >Re: Objective-C++ or C bridge? (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: How to use functions of Kernel.framework? (especially Blowfish)
  • Next by Date: Re: How to use functions of Kernel.framework? (especially Blowfish)
  • Previous by thread: Re: Objective-C++ or C bridge?
  • Next by thread: Re: Objective-C++ or C bridge?
  • Index(es):
    • Date
    • Thread