• 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: C++ mixed with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ mixed with Cocoa


  • Subject: Re: C++ mixed with Cocoa
  • From: "devdrvr.net Multi-Platform SW" <email@hidden>
  • Date: Tue, 01 Oct 2002 09:51:36 -0700

If you include the Carbon framework (even though it is Cocoa) you can have
C++ in an Objective-C .m or .mm file. Then you can include C++ headers.

--Perry
========
01 (530) 400-5692 [Davis, CA USA]
mailto:email@hidden
http://www.devdrvr.net/PerryCard.html
ftp://www.devdrvr.net/


On 9/30/02 6:55 PM, "Terence Goggin" <email@hidden> wrote:

> Hi all,
>
> I know this is supposed to be possible, but I just keep getting a mess of
> errors saying things like...
>
> undefined type, found `class' (for a definition in a .h file)
> illegal external declaration, missing `;' after 'MyClass'
>
> and so on ...
>
> I've made sure that the .cp files were renamed to .cpp, compared against the
> sample code on Apple, etc.... but can't figure out what I'm missing. (And I
> assume this is just a flag or setting I need to adjust somewhere.)
>
> Any thoughts or suggestions would be helpful!
>
> Thanks,
> Terence
>
>
> _________________________________________________________________
> Join the worlds largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
> _______________________________________________
> 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: 
 >C++ mixed with Cocoa (From: "Terence Goggin" <email@hidden>)

  • Prev by Date: Re: Subclassing NSTypesetter: NSRunStorage exception
  • Next by Date: Source-level availability-macro tweaking
  • Previous by thread: Re: C++ mixed with Cocoa
  • Next by thread: Re: C++ mixed with Cocoa
  • Index(es):
    • Date
    • Thread