• 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: Paul Thomas <email@hidden>
  • Date: Thu, 3 Apr 2008 14:11:48 +0100


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


  • Follow-Ups:
    • Re: More fun with C++
      • From: "Herb Petschauer" <email@hidden>
References: 
 >More fun with C++ (From: Brad Peterson <email@hidden>)

  • Prev by Date: More fun with C++
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 533
  • Previous by thread: More fun with C++
  • Next by thread: Re: More fun with C++
  • Index(es):
    • Date
    • Thread