• 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
programming in C++ ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

programming in C++ ?


  • Subject: programming in C++ ?
  • From: "Cor" <email@hidden>
  • Date: Thu, 31 Jan 2008 00:17:27 +0100

I'm very new to Cocoa, so I'm sorry if this is more or less a stupid question.

I want to make an application that uses the QTKit and some IOKit things.
For QTKit I seem te need to write in Objective-C.
For the IOKit I need to write in C++.

I'm a experienced C++ programmer, so I prefer to program in C++, but how do I interface to QTKit?

I did read something about .mm files.
If I understand correctly then .mm files may contain Object-C and C++ mix.
But if this is so, why are not all files .mm (why are .m files needed?).

And how do I call the Object-C functions?

Does it hurt when I only use .mm files?
Does it makes sense to write Cocoa applications in C++?

Thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: programming in C++ ?
      • From: Kevin Elliott <email@hidden>
    • Re: programming in C++ ?
      • From: Thomas Engelmeier <email@hidden>
    • Re: programming in C++ ?
      • From: Uli Kusterer <email@hidden>
    • Re: programming in C++ ?
      • From: Vance <email@hidden>
    • Re: programming in C++ ?
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Named image for regular folder?
  • Next by Date: Re: programming in C++ ?
  • Previous by thread: Re: CoreData and NSOperation
  • Next by thread: Re: programming in C++ ?
  • Index(es):
    • Date
    • Thread