- Paperback: 800 pages
- Publisher: Sams; 4 edition (December 15, 2001)
- Language: English
- ISBN-10: 0672322234
- ISBN-13: 978-0672322235
- Product Dimensions: 7.5 x 2.3 x 9.1 inches
- Shipping Weight: 4 pounds (View shipping rates and policies)
- Average Customer Review: 461 customer reviews
- Amazon Best Sellers Rank: #2,730,416 in Books (See Top 100 in Books)
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.
C++ Primer Plus (4th Edition) 4th Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
There is a newer edition of this item:
"Rebound" by Kwame Alexander
Don't miss best-selling author Kwame Alexander's "Rebound," a new companion novel to his Newbery Award-winner, "The Crossover,"" illustrated with striking graphic novel panels. Pre-order today
From the Publisher
This is an update to a computer industry classic; over 100,000 copies sold in previous editions. 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.
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.
Author interviews, book reviews, editors picks, and more. Read it now
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
I just finished the 5th chapter, over 1/4 of the programs in the book will not compile in OSX 10.5.2 w/ developer kit installed. The author will go on rants that are to complicated for the subject matter that he's trying to cover, then later say oh don't worry about that you'll learn about it in chapter 15.
After finishing this semester I hope that I can revisit this book, and enjoy it more. For now, it's to complicated for someone who's just starting out and has never used or taken a structured programming language before.
There is no mention of buttons, forms, windows, or text boxes at all in this book.
There are roughly 1200 pages in this book and it seems that all of these pages deal with an output function called "cout" which puts text on the screen.
I don't need to "put text on the screen" I need to put "buttons on the screen". That, unbelievably, is not in the book.
No reference to graphics, bitmaps, transparency, drawing -> nothing.
It seems to be a 1200 page c++ syntax reference.
I have about 30 years of in-depth programming experience and my only question is "how can I send it back".
It's not only a waste of money, it was a real waste of time. (having read the first 150 pages "hoping" it would sooner or later get better.
"Be warned that there are quite a bit of annoying
errors/typos scattered throughout -- I couldn't
locate an errata online."
There is an Errata sheet here:
under the "Updates" tab.
(The Errata sheet can be found on the book's page
at www DOT informit DOT com)
Some things I wish this book included were some tricks or examples which aren't as mundane. Some delving into strategy to deal with non classroom problems would be nice. As usual this simply covers the core of C with some additional information regarding C!x and C11. I browsed over this in about 2 hours and didn't see much change from the fith edition when it came to examples.
Furthermore I'm a little disappointed that there wasn't a chapter dedicated solely to the differences in C11 and C99 that was covered in his 5th edition. Additionally, it would be nice to have some of the more obscure features of C explained in further detail. Some examples of this are C scope and exactly what that means for programming and isolation. The use of examples around this is paramount in understanding how some compliers implement the language. I'll give an obscure example which I don't believe is mentioned in the book simply because the feature is considered taboo to C.
Scope can easily be understood with the goto statement. if I were to put a label for goto in c inside a separate scope ( ie, a block of code can be isolated to it's own scope with curly braces ). Then I can goto this, but can't goto some label which is not within that scope. in other words, I can't go into a curly braced section but then cannot go back out of it later because the scope has changed during execution. This is an aspect of coding and scope which isn't exemplified very well. Not that goto is a good thing to use in C, unless of course you are trying to explain scope and some of the quirky things with you can do with curly braces.
As a result there are some nuances which are otherwise lost in reference. Another example is the for loop construct and the survival of initiator variables outside of the scope of the loop and what happens to them after the use. Again this is just me remembering how scope can be very useful tool in this language although most of my knowledge is based around compliers interpreting my code. As a result, what's supposed to be happening in theory doesn't always pan out. I have had a few programs allow me to use the established variables in the for loop initiation again after the for loop breaks. this is extremely useful if you need to use a loop iteration value for some other calculation. the initiated variables following the for declaration in parenthesis don't go always go away and understanding scope becomes paramount.
This book still provides excellent information and I cannot give it any less than 5 stars.