• 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: Timothy Ritchey <email@hidden>
  • Date: Mon, 30 Sep 2002 21:09:25 -0500

rename the extension to .mm

Cheers,
tim

On Monday, September 30, 2002, at 08:55 PM, Terence Goggin 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.

  • Prev by Date: Re: Behavior of autoreleased window controller for closing window vs. app termination
  • Next by Date: Alphabetizing an array
  • Previous by thread: Re: C++ mixed with Cocoa
  • Next by thread: Alphabetizing an array
  • Index(es):
    • Date
    • Thread