• 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: Calling C++ from Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling C++ from Obj-C


  • Subject: Re: Calling C++ from Obj-C
  • From: Guillaume Borios <email@hidden>
  • Date: Fri, 31 Aug 2001 17:17:41 +0200

Le vendredi 31 ao{t 2001, ` 04:15 PM, brian hook a icrit :

Okay, I realize that this is probably an FAQ, but I actually did a Google and a list archive search and didn't turn up anything (anyone else notice that searching on "C++" is just kind of a pain?).

I have a fairly large codebase of C++ classes that are integrated into my current projects. There's a lot of stuff in there that my Cocoa app needs to be able to access. For example, I want to do a data visualization tool in Cocoa, however all the data generation stuff is in C++. In addition, I'm writing a server back end in ANSI C++, but I'd like to make a Cocoa version that can be used as a front end to the server (whereas on Linux and Windows the server will simply run at the console).

With ObjC, you'll have to hack things up with a pure C layer to cross the language bridge, but if you wait a bit till 10.1 dev tools, you'll get a new Project Builder version that compiles ObjC++.
If I were you I'd wait : it could take less time than making the C layer and its much easy too ;-)

Guillaume


  • Follow-Ups:
    • Re: Calling C++ from Obj-C
      • From: Ondra Cada <email@hidden>
References: 
 >Calling C++ from Obj-C (From: brian hook <email@hidden>)

  • Prev by Date: Re: regarding nib files.
  • Next by Date: Re: Writing a custom spell service
  • Previous by thread: Calling C++ from Obj-C
  • Next by thread: Re: Calling C++ from Obj-C
  • Index(es):
    • Date
    • Thread