🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #387

Re: Objective-C and C++ (at the same time)

#387
From: Paul F. Kunz
Date: Thu, 24 Feb 1994 14:53
18 lines
1951 bytes
>>>>> On 24 Feb 1994 04:38:19 GMT, mgritter@gac.edu (Mark Gritter) said:
In article <2khavrINN9ph@news.gac.edu> mgritter@gac.edu (Mark Gritter) writes:


> While gnu gcc (version 2.3.3) will compile both C++ and Objective C,
> it won't do both at once.  Is there a compiler that will recognize
> both C++ and Objective C in the same file?  

   The NeXT version of gcc will do C++ and Objective-C at the same
time.  It's really a language called Objective-C++.  Look at
/NextDeveloper/Examples/appkit/CalculatorLab++ to see an exemple.

   The Objective-C++ language is a nice means of marrying your numeric
model written in C++ with your GUI written in Objective-C.
--
Paul F. Kunz	Paul_Kunz@slac.stanford.edu (NeXT mail ok)
Stanford Linear Accelerator Center, Stanford University
Voice: (415) 926-2884   (NeXT) Fax: (415) 926-3587
Technical Details
Message-ID: <PFKEB.94Feb24065330@kaon.SLAC.Stanford.EDU>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!headwall.Stanford.EDU!unixhub!SLAC.Stanford.EDU!pfkeb
References: <2khavrINN9ph@news.gac.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,bfb0af118239035a
X-Google-Attributes: gid109fba,public
X-Google-Thread: 1111a3,bfb0af118239035a
X-Google-Attributes: gid1111a3,public
X-Google-Thread: f9256,bfb0af118239035a
X-Google-Attributes: gidf9256,public
X-Google-Thread: 10ba33,bfb0af118239035a
X-Google-Attributes: gid10ba33,public
X-Google-ArrivalTime: 1994-02-24 06:53:29 PST
Newsgroups: comp.lang.objective-c,comp.lang.c++,comp.sys.next.programmer,gnu.g++.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!headwall.Stanford.EDU!unixhub!SLAC.Stanford.EDU!pfkeb
From: pfkeb@kaon.SLAC.Stanford.EDU (Paul F. Kunz)
Subject: Re: Objective-C and C++ (at the same time)
In-Reply-To: mgritter@gac.edu's message of 24 Feb 1994 04:38:19 GMT
Message-ID: <PFKEB.94Feb24065330@kaon.SLAC.Stanford.EDU>
Sender: news@unixhub.SLAC.Stanford.EDU
Reply-To: Paul_Kunz@slac.stanford.edu
Organization: Stanford Linear Accelerator Center
References: <2khavrINN9ph@news.gac.edu>
Date: Thu, 24 Feb 1994 14:53:29 GMT
Lines: 18