Re: Mixing C++ and Objective-C
Re: Mixing C++ and Objective-C
- Subject: Re: Mixing C++ and Objective-C
- From: Martin Häcker <email@hidden>
- Date: Tue, 6 Aug 2002 17:07:50 +0200
At 16:48 Uhr +0200 06.08.2002, Albert Russel wrote:
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?
As far as I know you have to name your Obj-C files with an extension of ".mm"
cu Martin
--
dont.wanna.tell
[ot]coder - hehe
_______________________________________________
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.