including cocoa in cpp file

2009-06-04 Thread MacUser S
I', trying to compile a cpp file.i just included include.But it shows so may errors.In build settings ,compiling the sources as its type.Is it missed any project settings? /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:124: error: expected unqualified-id before '@' tok

Re: including cocoa in cpp file

2009-06-05 Thread MacUser S
Thanks.It is working!!! From: Kyle Sluder To: MacUser S Cc: cocoa-dev@lists.apple.com Sent: Friday, June 5, 2009 1:39:48 AM Subject: Re: including cocoa in cpp file On Thu, Jun 4, 2009 at 3:15 AM, MacUser S wrote: > I', trying to compile a cp