Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!paperboy!think.com!sdd.hp.com!cs.utexas.edu!uunet!rosie!news From: news@NeXT.COM (news) Newsgroups: comp.sys.next Subject: Re: C++ vsus Objective-C Keywords: C++ integration Message-ID: <254@rosie.NeXT.COM> Date: 7 Feb 91 00:27:08 GMT References: <1991Feb6.094307.4402@nntp-server.caltech.edu> Organization: Next Computer, Inc. Lines: 26 Nntp-Posting-Host: gehenna.next.com Whoops. In my last posting I included a NextAnswer that showed how to integrate C and objective-C. The question was about mixing C++ and Objective-C. Here's one for that: C++ integration Q: Can I integrate C++ code into my Interface Builder/Objective-C application? How? A: Yes, in release 2.0 you can, and it's pretty easy (once you know how)! The procedure breaks down into three categories of things that you must do: compiling, Interface Builder and getting the two languages to talk to each other. [... goes into detail here ...] There is an example located in /NextDeveloper/Examples/Calculator++ which illustrates the integration of Interface Builder nib files, Objective-C source code, and C++ source code into one program. QA584 Chris MacAskill cmac@next.com