🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.misc
Article #132

Re: Looking for a C++ Compiler for the MAC

#132
From: Brent Burton
Date: Tue, 05 Jan 1993 02:34
33 lines
1981 bytes
to5232@iscsvax.uni.edu writes:
|In article <1993Jan4.221458.7320@tc.cornell.edu>, philip@vger.cheme.cornell.edu writes:
|> 
|> ThinkC has a very good C++ implementation, and you can get it just about
|> anywhere. BTW the current version is 5.0.3
|>  
|How compliant is it with the ATT C++ compiler?  It equivalent to ATT C++ 2.1 or
|higher? (Just asking for a point of reference.)

From page 60 of the Think C Object Oriented Programming Manual, I quote:
  The syntax that THINK C uses for objects is a cubset of C++ as described
  in [Stroustrup's C++ Ref Manual].  THINK C implements simple objects
  without multiple inheritance.  THINK C does not implement any non-object
  extensions from C++ such as operator or function overloading.

Throughout this chapter of the manual, the reader is told the times when
methods should or should not be declared virtual and how it compares to 
what C++ would assume or do.

Other differences between C++ and Think C's OO stuff include using
keywords in TC where C++ doesn't have them,  interpreting words in
context (public, private, etc) whereas C++ has these as keywords.
These smaller differences are just from the implementation.

For more information about what the differences are, I'd suggest getting
your hands on this manual and reading through this chapter.

-Brent
-- 
+-------------------------+
| Brent Burton    N5VMG   |    
| bpb9204@tamsun.tamu.edu |  
+-------------------------+ 
Technical Details
Message-ID: <1ias2sINN345@tamsun.tamu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!news
References: <1992Dec22.060830.2807849309@ultramac.uucp> <1993Jan4.221458.7320@tc.cornell.edu> <1993Jan4.180601.9645@iscsvax.uni.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!news
From: bpb9204@tamsun.tamu.edu (Brent Burton)
Newsgroups: comp.sys.mac.oop.misc
Subject: Re: Looking for a C++ Compiler for the MAC
Date: 4 Jan 1993 20:34:04 -0600
Organization: Texas A&M Univ., Inc.
Lines: 33
Message-ID: <1ias2sINN345@tamsun.tamu.edu>
References: <1992Dec22.060830.2807849309@ultramac.uucp> <1993Jan4.221458.7320@tc.cornell.edu> <1993Jan4.180601.9645@iscsvax.uni.edu>
NNTP-Posting-Host: tamsun.tamu.edu