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

Mixing C++ and Objective-C


  • Subject: Mixing C++ and Objective-C
  • From: "Albert Russel" <email@hidden>
  • Date: Tue, 6 Aug 2002 16:48:38 +0200

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.

  • Follow-Ups:
    • Re: Mixing C++ and Objective-C
      • From: Martin Häcker <email@hidden>
    • Re: Mixing C++ and Objective-C
      • From: marquis logan <email@hidden>
  • Prev by Date: Re: Accessor methods and (auto)release: conclusion
  • Next by Date: Re: Mixing C++ and Objective-C
  • Previous by thread: Re: Archive crash
  • Next by thread: Re: Mixing C++ and Objective-C
  • Index(es):
    • Date
    • Thread