C++ Primer Plus (4th Edition) 4th Edition
Use the Amazon App to scan ISBNs and compare prices.
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
From the Publisher
The C++ Primer Plus, Fourth Edition contains hundreds of sample programs. The friendly tone, concise programs, and end-of-chapter review exercises allow beginners to write their own programs immediately.
From the Back Cover
The fourth edition presents the ANSI C++ standard beginning with a discussion of the essential elements of C++ programming: loops, expressions, functions, and classes. It walks readers through the basics of object-oriented programming: classes, inheritance, templates, and exceptions, as well as the latest object-oriented programming techniques. C++ Primer Plus contains hundreds of sample programs. The friendly tone, concise programs, and end-of-chapter review exercises allow beginners to write their own programs immediately.
- Publisher : Sams Publishing; 4th edition (December 15, 2001)
- Language : English
- Paperback : 800 pages
- ISBN-10 : 0672322234
- ISBN-13 : 978-0672322235
- Item Weight : 4.12 pounds
- Dimensions : 7.25 x 2.25 x 9.25 inches
- Best Sellers Rank: #4,498,069 in Books (See Top 100 in Books)
- Customer Reviews:
Reviews with images
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
CPP4E impresses the reader on many levels. First, Prata's writing is exceptionally clear. He doesn't require you to dissect that one "key sentence" which encapsulates all the author has to say on a single topic. Prata defines all of his terms, uses them in examples, and reintroduces them when later new ideas require background presented earlier.
Second, CPP4E is a "teach yourself" manual. If you read the text, type in the examples, answer the review questions, and try at least some of the programming exercises, you will learn something. I typed many of the examples in the book by hand and also made use of the code supplied on the publisher's Web site. CPP4E should be used in classes as an introductory C book.
Third, it's evident a lot of thought and work went into publishing CPP4E. The index is thorough and applicable. The arrangement of topics makes sense. The diagrams are easy to decipher. The errata available on the publisher's Web site is comprehensive. I did find a few minor issues and submitted those to SAMS, which they acknowledged.
My only concern is the author's differentiation between "serious code" and "more relaxed programming." He says on p. 410 "in serious programming, you should use fgets() rather than gets(), but this book takes a more relaxed approach." Unfortunately, this relaxed approach is the reason why computers are constantly compromised. By now programmers should realize that users deploy their code in the most hostile of environments, and intruders will blow away anything that's not bullet proof. While Prata does show readers how to take more secure approaches, I'd like to see a security theme consistently applied throughout the fifth edition.
Overall, I strongly recommend CPP4E to anyone interested in an introduction to C. If you're looking for network programming, however, you won't find it here. Keep an eye on future reviews of mine for my picks on a socket programming guide. Keep in mind when reading this review that I'm a beginning C programmer. I'm not in a position to judge the author's style. However, I doubt many experienced programmers would read this entire book!
to write a review based on a few things I have seen.
1. The book is very well organized. It starts from absolute basics, and builds
on everything from there. This makes going from chapter to chapter very easy.
2. Some of the examples are very easy, and others are not. You do not want a
book that does everything for you. You might get stuck for hours, but in the end
you will learn something, which leads me to...
3. The downside of this book (actually I noticed that could be debatable), is
the number of typos in the examples of code. You can tell that the editors did
catch all the copy-paste mistakes as they were made quite a bit. But sometimes I
sat for hours wondering why my code wouldn't compile only to realize he made a
typo mistake. One of them I remember is when he had done a 'switch' statement,
he left out the integer expression... and being a newbie, it takes awhile to
catch. And he confuses his pointer names A LOT, naming one *pt then switching
to *pn. The up-side to this is you will be fixing people's code in the real world,
debugging, etc... so that's how I look at it. But frustrating nonetheless.
4. Sometimes it isn't quite clear how he is explaining a certain point, but
after thinking about it a bit, it starts to make sense later, usually in examples
or when he explains other ways of doing it. For the most part, the explanations
are pretty good.
Bottom-line, the standard hasn't changed too much since this edition so unless
you want to fish out top-dollar for the 6th edition that is out now, this one
will do fine; I got mine new for $10 shipped.
I actually started with Java as my first language and classes, objects, etc
didn't make too much sense until I studied them in C++ from this book... I
recommend studying C++ as a first language rather than Java like most schools
and universities do as Java is a more higher level language than C++, meaning
it has a little more abstraction level, however in theory Java is 'easier' to C++.
Just that C++ answered all my problems I had with Java.
I have 20 or so programming books most of which turned out to just be reference books but this book can easily be read cover to cover and is a must have for ANY serious programmer.