Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!sdd.hp.com!spool.mu.edu!uunet!timbuk!shamash!paul From: paul@u02.svl.cdc.com (Paul Kohlmiller) Newsgroups: comp.sys.mac.programmer Subject: Re: C/C++ difference? Message-ID: <30704@shamash.cdc.com> Date: 18 Feb 91 22:54:26 GMT References: Sender: usenet@shamash.cdc.com Lines: 29 jeffb.bbs@shark.cs.fau.edu (Jeffrey Boser) writes: >1) my think C manual says it is upwards compatable with c++, meaning > think C is lacking something in c++. what exactly is it lacking? >2) from previous conflicts of similar nature (some people think that their > way of doing something is the only way), such decisions are usually > based on ignorance. (usually, not always. remember attitudes about > the mac when it first came out?) why is c++ so important that it > precludes all alternatives? and does it have anything to do with 1? I think Think C is missing the keywords class and friend and the notions that these keywords represent (someone who know C++ better than I should explain whatever it is I just said). At this particular moment in time, C++ is perhaps the most portable language around. C comes in many different flavors and when the world (and THINK C) is completely ANSI then this might change. So if you want to port some code to the Mac it would be nice to be able to port C++ code. The PC folks have Turbo C++ which also supports ANSI C. It is the lack of a similar product that really gripes those of us who want to use C++ on a Mac but who don't want to do the whole MPW thing. >3) if the state of the art (in mac programming) moves toward that, what > will be the consequences? remember, the toolbox is based on a pascal > library. c is not a good initial language for the mac. You're absolutely right. But more and more code is being written in C++ and MacApp can handle either Object Pascal or C++. Now, which of those two languagesis more portable? -- // Paul H. Kohlmiller // "Cybers, Macs and Mips" // // Control Data Corporation // Internet: paul@robin.svl.cdc.com // // All comments are strictly // America Online: Paul CDC // // my own. // Compuserve: 71170,2064 //