programming in C++ ?
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