• 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
Re: More fun with C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More fun with C++


  • Subject: Re: More fun with C++
  • From: "Herb Petschauer" <email@hidden>
  • Date: Thu, 3 Apr 2008 09:05:43 -0700

#  ifdef __cplusplus
extern "C" {
#  endif


C++ stuff

#  ifdef __cplusplus
}
#  endif

It's in the Cocoa Dev archives (probably a subject search containing "C++").

Cheers,
-H.
On 03/04/2008, Paul Thomas <email@hidden> wrote:
>
>  On 3 Apr 2008, at 13:48, Brad Peterson wrote:
>
>
> > Hi,
> >
> > Seems like I'm once again behind the "mixing Obj-C
> > with C++" 8-ball. :(
> >
> > This time, I'm getting compile errors in the .h file
> > of my C++ class.
> >
> > Specifically, just this much code:
> >
> >  using namespace std;
> >  class CXLSWriter
> >  {
> >
> > Generates 3 errors, and one warning:
> >
>
>
> > Does anyone know what I might be missing here?
> >
>
>  The errors may show up in the .h file, but the important part is what
> source file are you compiling? I'd bet it's a .m file instead of a .mm file.
>
>  _______________________________________________
>
>  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
>
_______________________________________________

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: More fun with C++
      • From: Jens Alfke <email@hidden>
References: 
 >More fun with C++ (From: Brad Peterson <email@hidden>)
 >Re: More fun with C++ (From: Paul Thomas <email@hidden>)

  • Prev by Date: Re: Resorting normal field editor behaviour
  • Next by Date: Re: Southern California Coders?
  • Previous by thread: Re: More fun with C++
  • Next by thread: Re: More fun with C++
  • Index(es):
    • Date
    • Thread