home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / oop / misc / 189 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.9 KB

  1. Path: sparky!uunet!usc!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!news
  2. From: bpb9204@tamsun.tamu.edu (Brent Burton)
  3. Newsgroups: comp.sys.mac.oop.misc
  4. Subject: Re: Looking for a C++ Compiler for the MAC
  5. Date: 4 Jan 1993 20:34:04 -0600
  6. Organization: Texas A&M Univ., Inc.
  7. Lines: 33
  8. Message-ID: <1ias2sINN345@tamsun.tamu.edu>
  9. References: <1992Dec22.060830.2807849309@ultramac.uucp> <1993Jan4.221458.7320@tc.cornell.edu> <1993Jan4.180601.9645@iscsvax.uni.edu>
  10. NNTP-Posting-Host: tamsun.tamu.edu
  11.  
  12. to5232@iscsvax.uni.edu writes:
  13. |In article <1993Jan4.221458.7320@tc.cornell.edu>, philip@vger.cheme.cornell.edu writes:
  14. |> 
  15. |> ThinkC has a very good C++ implementation, and you can get it just about
  16. |> anywhere. BTW the current version is 5.0.3
  17. |>  
  18. |How compliant is it with the ATT C++ compiler?  It equivalent to ATT C++ 2.1 or
  19. |higher? (Just asking for a point of reference.)
  20.  
  21. From page 60 of the Think C Object Oriented Programming Manual, I quote:
  22.   The syntax that THINK C uses for objects is a cubset of C++ as described
  23.   in [Stroustrup's C++ Ref Manual].  THINK C implements simple objects
  24.   without multiple inheritance.  THINK C does not implement any non-object
  25.   extensions from C++ such as operator or function overloading.
  26.  
  27. Throughout this chapter of the manual, the reader is told the times when
  28. methods should or should not be declared virtual and how it compares to 
  29. what C++ would assume or do.
  30.  
  31. Other differences between C++ and Think C's OO stuff include using
  32. keywords in TC where C++ doesn't have them,  interpreting words in
  33. context (public, private, etc) whereas C++ has these as keywords.
  34. These smaller differences are just from the implementation.
  35.  
  36. For more information about what the differences are, I'd suggest getting
  37. your hands on this manual and reading through this chapter.
  38.  
  39. -Brent
  40. -- 
  41. +-------------------------+
  42. | Brent Burton    N5VMG   |    
  43. | bpb9204@tamsun.tamu.edu |  
  44. +-------------------------+ 
  45.