From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.5 required=3.0 tests=BAYES_40,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 31 May 93 13:18:24 GMT From: alice!bs@ucbvax.Berkeley.EDU (Bjarne Stroustrup) Subject: Re: LEARNING C AND C++ Message-ID: <25615@alice.att.com> List-Id: michael.hagerty@nitelog.com (Michael Hagerty @ Nitelog BBS - Monterey, CA - 408 -655-1096) writes > On 27 May 1993, Mjl-b@minster.york.ac.uk posted to All: > > MJL-B. For my next job, I'll be working in C and possibly C++ (no flames, > . please). Can anyone recommend some good books on both for someone who has > . a Pascal and Ada background? > > From Pascal to C, an Introduction to the C Programming Language, Douglas L. > Brown, Wadsworth Publishing, 1985, ISBN 0-534-04602-9. > A brief comment - I don't think anything else would be appropriate on comp.lang .ada: C and C++ are different languages. Learning C isn't learning C++; it is not eve n a prerequisite for learning C++. I am of the opinion - based on some experience - that for Pascal and Ada programmers C++ is easier to learn than C, especially if the Pascal or Ada programmer initially focus on a sub-set of C++ that corresponds t o his or her previous langugage. The difference between C and C++ in this context is that C++ has much stronger type checking and (in the case ofthe Ada programmer) provides direct support for data abstraction. This minimizes the culture shock.