Re: Simple C++/Obj-C question
Re: Simple C++/Obj-C question
- Subject: Re: Simple C++/Obj-C question
- From: Marc Weil <email@hidden>
- Date: Sun, 25 May 2003 15:51:50 -0400
Make sure that the file the implementation for your C++ class is in has the
extension .cpp, or, if you are implementing the class along with objective-c
code, make sure that file has the extension .mm (which enables
Objective-C++).
-- Marc Weil
On 5/25/03 3:36 PM, "Daniel Aarno" <email@hidden> wrote:
>
Hi, I guess this is quite trivial and I could probably find the answer
>
on the web somewhere but It's easier to simply ask you guys.
>
>
I have a Obj-C class called MyView that need to access a data structure
>
(implemented as an C++ class), MyData, written in C++. When I try to
>
include MyData.h in MyView.h the compiler grinds to a halt on all the
>
C++ keywords such as class, public etc.
>
>
What am I doing wrong and how should I solve it?
>
>
/Regards Bishop
>
>
--
>
"Every act of destruction is an act of creation." - Picaso
>
_______________________________________________
>
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.