• 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 Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing C++ and Objective-C


  • Subject: Re: Mixing C++ and Objective-C
  • From: marquis logan <email@hidden>
  • Date: Tue, 6 Aug 2002 10:56:46 -0400

use the .mm extension for your obj-c source files that use c++. (obj-c++)

nibs


On Tuesday, August 6, 2002, at 10:48 AM, Albert Russel wrote:

I have added some .h and .cpp files to a Cocoa project. When I #include a
C++ .h file the compiler complains that 'class' is an unknown type. From the
documentation I understood that Objective-C and C++ can be mixed in the same
project. What must I do to use the C++ STL in a Cocoa project?

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

References: 
 >Mixing C++ and Objective-C (From: "Albert Russel" <email@hidden>)

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