Home - C
C++ Primer Plus (5th Edition)
Price: $47.99
& 2-Day * Free Nationwide Shipping! (* details)
Availability: Usually ship in 24 hours if sold by Amazon.com
Product Details
| Binding: | Kindle Edition |
|---|---|
| EAN: | |
| Label: | Sams |
| Feature: | |
| Publisher: | Sams |
| Studio: | Sams |
Editorial Reviews
If you are new to C++ programming, C++ Primer Plus, Fifth Edition is a friendly and easy-to-use self-study guide. You will cover the latest and most useful language enhancements, the Standard Template Library and ways to streamline object-oriented programming with C++. This guide also illustrates how to handle input and output, make programs perform repetitive tasks, manipulate data, hide information, use functions and build flexible, easily modifiable programs. With the help of this book, you will:
- Learn C++ programming from the ground up.
- Learn through real-world, hands-on examples.
- Experiment with concepts, including classes, inheritance, templates and exceptions.
- Reinforce knowledge gained through end-of-chapter review questions and practice programming exercises.
C++ Primer Plus, Fifth Edition makes learning and using important object-oriented programming concepts understandable. Choose this classic to learn the fundamentals and more of C++ programming.
Customer Reviews
This is a great book for anyone who want to enhance his/her knowledge
on C++, but this is by no means a primer book. If you are new to C++,
read the book "C++ primer plus" first. It is so funny that the book
"C++ primer plus" (which is also a great book) is really an introductory
book. The names of these two books should be swapped because C++ Primer
introduces more advanced topics and the topics that an experience programmer should know but a student does not need to. From my teaching experience in a state university, I would suggest students to read C++ books in the following order:
C++ primer Plus
C++ Primer
Thinking in C++ (great book, free on the internet)
The C++ Programming Language (by Stroustrup)
Then you may want to read some books on special topics such as Visual C++, Database, etc.
Prata offers fair coverage of the language: particularly the basics, as well as some nice software engineering opinions along the way (not in little colored boxes like Deitel with an Ant picture...which is cool: the ant analogy just annoys me- loss of identity, no individuality, part of a hive, etc...). Obviously he can't cover everything. Check out the chapter listing to see if he has what you want! But what he does cover-> the ++basics are extremely well done. There are programming exercises at the end of each chapter of course (with answers).
Prata has adopted a friendly, welcoming tone, laced with humor (not insipid humor, or just plain lame). He doesn't lambast microsoft or push any particular product/compiler. He provides little tips if you're using new or old, non-ansi-c++ compliant compilers. This is just a really helpful, useful, good to learn from book. I've read it to recover some obfuscated c++ knowledge lost from spending too long in java land (a nice, highly productive place...but just a little too safe if know what I mean: everything is fenced in and there are no pointers for self navigation!), so my opinion may be from somebody who is not a beginner. Nevertheless, having taught people, i would suggest this: this is a pedagogically sound work that offers achievement and understanding for anybody willing to step up and take a serious whack at c++. Read it and enjoy a true rarity nowadays: someting that not only lives up to its promise, but goes beyond it. This is money that is sure to be spent in a non-resentful manner: there's no buyer's remorse here! There's nothing about this book that I find weak.
Very well done Mr Prata!
Definitely Two thumbs up!
In C++ Primer Plus, you are lead through the "cin's" and "cout's" of C++. In this book you will be given well guided lessons with examples from the basic to the advanced features of this wonderfuly capable programming language. You will learn the common C++ programming idioms and techniques as you turn the pages, each example constructed clearly and professionally. One of the great features attributed to this book is the dedication to teaching its readers C++, one being each example code given to you to
use was carefully crafted to be compitable with most popular and even a few less heard of, C++ compilers.
The author is also good at explaining each piece of code with wonderful precision and patience, so well in fact they don't have to provide constant screen shots to show what they are trying to explain - unlike many other programming books.
If you have ever wanted to learn a programming language that is greatly respected in the business world, then I would of course suggest picking up C++. If you want a great book to learn from and use as a guide throughout your programming life for C++, then I suggest picking up "C++ Primer Plus, fifth edition". Just as much as I appreciate this book for its ability to teach people directly, I equally would recommend this book as a
good teaching text for those of you who may already know C++ but find it hard to teach others. I myself hope to use this book to teach others by one day.
-Rift-
When I entered the wonderful world of programming, I chose Visual Basic .NET. This language was famous for being easy to learn. What I didn't know was that it had grown into something more complex, and .NET is a bit tougher to learn than any of the previous versions. So I thought it would only be natural that I needed to buy a couple of books to master the language.
The more books I bought, the more I got sick and tired of authors who weren't able to follow simple naming conventions. Another annoying thing with .NET books is that you can find one sentence in almost all of them saying, "You don't need to know this" when it comes to using built-in functions. Whether I need to know something or not is my decision, not the author's decision. So the author's job is to explain it, and if I really "don't need to know it", I can skip the section. But to make matters worse, most authors didn't even switch to .NET and continued writing bad code as they did with previous versions of Visual Basic, which has nothing to do with .NET. In consequence, I switched to C#, hoping that things would get better.
After the switch, I could still use my Visual Basic .NET books because the syntax is so similar. But I decided to buy some C# books since I hoped that quality would get better. In fact, quality did get much better. But another problem was still the same: most beginning .NET books are too trivial, too superficial, and too incomplete. For a good start with .NET, you need quite a couple of books. The nine books on .NET I own range from beginner topics to advanced topics, but I still find it's incomplete and much too superficial. Not even all the books together give me the information I want.
In terms of syntax, C# and C++ are quite similar. If you can read C# code, then you can read C++ code and vice versa. I know that many C++ book authors go a bit deeper, so I decided to buy a book on C++ to see if that could provide me with the information I want and need. After some research, I ordered C++ Primer Plus mainly based on the excellent reviews here at Amazon.
The reader arrived quickly, and I started immediately. After the first chapter, I knew I had wasted a lot of money - on the nine books I own, that is. This one is a beginner's book, but it goes much deeper than all the other books I own together. If I had known this before, you can be damn sure that C++ Primer Plus would be the only beginner's book on my shelf.
The author has written a true jewel - coherently, concise, and fun to read. It even covers topics that you can't find in advanced .NET books, so I guess another switch is about to happen.
If I had to vote for the best beginner's programming book, this is it. No matter at what level you are, this book is great to have on your shelf. You'll appreciate Stephen's talent to get you started in case you've never touched programming before. If you think you're advanced, put this book on your shelf - it's great for reference as well. Fed up with superficial .NET? Come over to C++, Stephen makes it so simple. Want to continue with .NET? No problem, I have nine books for sale.
The exercises are good...not too difficult, not too easy. They tend to take me 15-30 minutes each. I haven't had any problems compiling the examples in the book that I've chosen.
However, when I reached Chapter 13, the binding broke. I now have two books loosely connected by a thin strip of paper. I'll have to rebind it, probably as two different parts. For the cost of this book, I expect a better quality product. None of my heavily used O'Reilly texts have ever had their binding break. So I've subtracted one star for that.
When the book came in the mail I was shocked at how big it is. I had to take the lift to get back to my apartment ;).
I had been expecting a book around 400 pages, it is 1200 pages. I guess that it's the language's fault.
Since I had a special need: to find a thorough explanation of references as used by functions, I jumped straight to the chapter, and found its style was wonderful. It could not be better. The text is full of reminders of concept he uses, just in case you had not read them very carefully before. I'm finding the style most engaging unlike Lipmann. It reads so well that the extra pages don't matter so much.
I've tried various topics and have found that you can go straight to the topic and get by quite well, because the author is constantly reminding you of the assumptions.
Unlike some other introductions to C++ this one does not stop early, and it insists a lot on what is going on behind the scenes.
I also noticed that it's very usable by people who do not have much programming experience. I would not recommend that anyone start programming with C++ however, it's just too complex. You would be better off starting with Python or Java.
Based on what I have read, it seems that Prata's place in heaven is assured.
The Devil learns C++ in Prata. (sorry I could not resist that one).
Update:
I have been reading this book a while now, and I must say that it's not wonderful as a reference, because it's hard to find information on a specific topic without having read a considerable amount of what was said before. It's also rather hard for me to skim tough the pages to find the explanation of something, so I'll have to use the index. But it's not meant as a reference, (However it does have a few very good reference sections, like the one on the STL) but rather as a teaching book where you go through the chapters one after the other.
I've just been reading the section on Iterators. It's simply the best explanation I have ever read of this topic. I found it much better than Ivor Horton's text on this point.
You will probably want several C++ books, including a reference book like C++ in a Nutshell. Bu dont read the latter until you have mastered the basics with a book like this one.
This is probably the best C++ book I have read. It is not overly technical or cryptic, but it can still effectively teach the language to anyone. With just the right amount of humor, it walks the reader through all of the technical concepts.
This book, however, has a very poor binding. Before I even opened the book, I could see that the binding was starting to come apart. Every time I opened it up thereafter, it came apart a little bit more. I understand that this is a 1200-page book, but there is no excuse for the binding.
All in all, it's a well organized, well written and just plain great book.
It's even amazingly light for being so thick.
This book is a good resource for people learning the C++ language, whether you are moving from another language like Java or C# or have very little to no programming experience you will learn a great deal from this book.
The exercises throughout the chapter and the programming challenges at the end of each chapter re-inforce the concepts learned, and the author does a good job of keeping them interesting and relevant to the rest of the chapter.
This book will not teach you advanced C++ but will help you learn the core language and get you well on your way.
Here's an outstanding bonus you get: The author teaches you to program using the generic programming concept. In other words, the book shows you how to write C++ code that is portable (requires little to no modification to run on different operating systems); powerful (gets the job done error free); easy to maintain (spend your time designing and coding--not trouble shooting); and educational (gives you lessons in structrual and object-oriented programming methods).
But that's not all!...
The author demonstrates a genuine committment to developing your knowledge, skills, and abilities by providing background information on C++. In fact, the author even discusses the similarities and differences between C and C++ so you can better understanding the language.
If you want a superb foundational education in C++; one that isn't intimidating; one that is useful; one that is fun, then this book is for you.
Beyound a shadow of a doubt...I highly recommend this book to beginners and intermediate programmers. Even expert programmers unfamiliar with the generic programming concept will richly benefit! Finally, I highly suggest to teachers who teach C++ consider adapting this book for their programming course. Your students will praise you for your savvy decision!
New standards are fully integrated (no appendix with new features!). No manual for special compilers, but a realy plattform-independ book about C++. Very helpfull for learning.
there are only 9 exercises for this material. 9!
deitel and deitel, although not without its own numerous demerits (that some material is poorly explained being among the worst), would, for this quantity of material have 25 exercises, some of them difficult, but many of them interesting.
i don't think one can learn to program (which this book purports to do) on such a limited, generally simplistic, diet of exercises.
i would say this work is overly dense with information, but limited in instructional value.
tlt
Nothing beats the assignments and questions after each chapter, to get you to better understand the language.
If you want to start C++, nothing beats this book.
SUMMARY: Buy this book. :)
A 3 step technique is used to deliver the lessons every C++ programmer will need to know:
1. The concept
2. The code
3. What the code is doing
Other useful tidbits are compatibility warnings for older compilers (the book even shows how to get the code to work in those situations) and summaries of the key information in each chapter.
With this being the 5th edition, the examples and concepts are of excellent quality.
Even so, there are some 'very' minor errors/typos in the text (haven't noticed any in the code yet) that a careful reader is sure to spot. Unfortunately I've yet to see an errata listing on the website for the book. So far this has not been an issue for me at all.
TIP:
The website for the book has changed in the last week. If you visit the old site you will be redirected to Informit's site where you will have to register in order to get the code. Just search for the book's isbn# to find it.
My suggestion is to buy this book, download the example files and compile them. I've referred to them quite often as I've gone through this book.
No one learns C++ in 21 Days or 24 Hours. It is not an easy language. But readers who are motivated to truly learn the language, as opposed to just picking up the bare minimum, will find everything they need here.
Whatever I have learned for / with C++ it's because of this book. Thanks to Dr. Stephen Prata who has done a remarkable job; we all should thank him for his valuable contribution. Without this book I couldn't be sure if I could learn C++.
Also guys remember! This book is for NEWBIES :D
For those who want to learn advanced programming features just search here and I am sure that you will find lots of valuable books :)
Kindest Regards,
Stefanos
If you already have a background in C, this book will be easier to follow.
However, some parts are more difficult to understand because of the complexity of C++. In my opinion, C++ is a complete different way of thinking, and not only because of the OOP.
But do not panic, Stephen Prata is there and will present you complex functionnalities in a such way that you will get them rapidly !
So, if you are looking for a quality book about C++, you have found it !
The book is laid out so that it is easy to "start where you need to": if you are a newcomer to C++, start in Chapter 1. If your skills are more advanced, scan through the chapters to find where your knowledge is lacking or your confidence in your skills in that area is weak. (However, even the more advanced programmer may wish to at least do the programming exercises at the end of each chapter, as they do provide an excellent review).
One thing I found refreshing was Mr. Prata's style in writing. In a book this size on a topic of this nature, it would be easy for the material to be dry. Sadly, many programming books are exactly that and can make the study process tedious at best. However, Mr. Prata (Dr. Prata? Forgive me for using the incorrect title if he is a Ph.D.) approaches the topic with a refreshing humor that is lacking in books of this genre. Also, the end of chapter programming exercises are well thought out and very relevant to the material contained in the chapter.
This book is by no means an exhaustive treatment of C++, particularly as pertains to such advanced topics as error and exception handling, STL classes, and templates, and the author says as much at the end of chapter 17. However, a book that WAS an exhaustive discourse on all that C++ offers would more closely resemble a set of encyclopedias.
By all means, I would recommend C++ Primer Plus to ANYONE who programs in C++, would like to learn, or would like to learn more about this powerful language.
I also picked up another book "Beginning C++ Through Game Programming" that has a few entertaining exercises in it to go along with this book and using both together has made learning this language a little easier.
It is not a good reference book, but it does not pretend to be. It is a primer, aimed at getting newcomers to C++ on their feet and writing programs swiftly and expertly. If you are looking for a place to start, this is simply it. Look no further.
This book was independently chosen as the official text book for the C++ Beginners website (www.cppbeginners.com), unaffiliated with the author or Amazon.com.
However, if you are looking for a quicker read on C++, but still with sufficient material that actually allows you to start writing fairly complex codes, Accelerated C++ by Koenig and Moo is a better option.
PROS:
-There are plenty of examples, some of which are referred to throughout the text (part of the journey/classroom textbook experience).
-Material is continually reviewed over time, helping solidify the material.
-Sidenotes and annotations help pinpoint important material/tips/tricks.
-It's very thorough, and doesn't completely shield a newcomer from advanced topics.
-Questions and programming exercises at the end of the book allow a more intuitive learning experience.
CONS:
-It's a large book, so reading it takes an extensive amount of time devoted to studying.
-Errors and typos humorously begin to grow in the coding examples as the book progresses (whether this is intentional or not, I'm not sure).
Anyone from a background in other programming languages should take the time and absorb Stephen Prata's insights. The rational and process for C++ is discussed without airs or attitude, but with respect for the goals behind the design features.
The Author also does an excellent job of adding some light humour in just the right places in the book. This humour adds just the right amount of punctuation; allowing one to ponder the concepts just given.
Readers will learn about how cout's streaming works and a host of other things in the mechanics of C++.
If you buy this book I recommend you let go of your time a little bit and enjoy every page written, recognizing the care that went into the text.
For school students, this might be the perfect summer-reading book to add new tools to your programming toolbox.
For the layperson this book has some insights in a computer language that runs a lot of the world, well worth the time to read.
What I disliked the most about the book was that not all the practice exercices are answered in the downloadable document. It will list 2 or 3 out of 6 which I don't understand. I can work my way around almost any programming problem, but it can be sloppy and that can lead to bad habbits. Since hands-on is the best way of learning anything, I just don't understand why he didn't take the time to write out all the solutions so that after you solve it you can review where you made mistakes or how you can improve. This does not outweigh the good at all, I just thought it was odd. Also towards the end of the book, Chapters 15-17, you start seeing more and more typos. I'm surprised these simple mistakes didn't get ironed out in the editing (but again these do not draw away from the effectiveness of the book)
If you want to learn C++, this is the book to get. The author not only goes over the technical syntax, but goes in depth about the general approach of Object Oriented Programming. C++ is a huge language and you cannot absorb it all from an online tutorial. With this book, you will not only learn how to write effective code, but you'll understand why its effective. I have a much better understanding of the OOP philosophy and thats extremely important because that can be applied to many other languages. And these philosophies are reiterrated again and again throughout the book to help you understand them. I also gained a better perspective on the differences between C and C++. If your like me, I don't want to just copy lines of code, I want to have a thorough understanding of the reasoning behind the code.
If you are new to programming and want a solid foundation to start with (whether its C++ or another language your interested in) this is the book you should get.
However, C++ still is a difficult language to learn. If you decide to go with this particular book, stick with it and do some of the exercises at the end of each chapter to understand C++ better. If you can, buy the Indian edition. It costs about 30% of the US edition and is just as colorful (or colorless).
I bought this book almost two years ago. On my first run I read the thing up to Chapter 9, this only took me less than a month, for it is written in a very relaxed way. In that month I was on vacations, and I gave three to four hours for of my daily time to this book, which is not very much considering you have to work through examples and stuff. As I was reading it I was conscious that I was becoming in love with the text and explanations, and more importantly, I was loving C++ (well, more C up to that point). Once I entered college as a freshman I had to stop because it was way too demanding for me to seriously work on the book, but in my programming classes I was a complete master. This book is so detailed that even if we worked in C and not C++ (Introduction to Programming was the course) I was able to achieve an A+ without breaking a sweat. This particular course is known to be a serious slut in my college: almost 50% of the class has to retake it.
As timed passed I kept coming back to reread some chapters that had valuable information and that proved to me how good a reference this books also is: the first time I read it, I thought that you HAD to read it from beginning to end, but jumping into chapters is very possible. I was also beginning to advance through the book although at a very slow pace. Until a year ago I was still on chapter 14. This time I took Object Oriented Programming course, and here too, I was top of the class, even If the course is given in the Java programming language. The concepts of OOP are so universal and Prata does such a nice job teaching about the public interface, containment, encapsulation, and other concepts, that even when exposed to a very different language, I was able to succeed.
Two years later I decided that I had had too much and read the whole deal in two weeks. Yes, from chapter 1 to 17 and the appendices. Finally, after reading the "What now?" section at the end of chapter 17, I felt that it was right to write the review, but hadn't had the time. Now I do, and I think my weird experience with it gives me the right to recommend the book in two lights: as an amazing tutorial and reference. Yes, you'll probably have to work through other books (Effective C++ by Meyers, Algorithms in C++ by Sedgewick, STL by Josuttis, and finally The C++ Programming Language by Stroustrup) to be a good and efficient C++ programmer, but this is your best way to start.
Some people say that after reading this you should read C++ Primer (no plus). Well, this was not the case for me. I have worked through all the books mentioned in the parenthesis above, and I never felt lost, never (Stroustrup's was read last I must add). I have read books on DirectX and 3D math (more specifically, Luna's and Dun y Parberry's), and on others topics too (that require some C++), and this book did me much justice.
Hope this helps.
However, it does suffer from the same problem as his C Primer Plus book, packing way too much information into one chapter. A lot of the chapters could easily be broken up to make the material less overwhelming and easier to swallow. That being said, this book is thorough and will get you to at least an intermediate level with C++, given of course you put your end of the work as well ;)
Overall, a great book to start learning C++, regardless of what your level of programming experience is. Clear and concise programming examples with full explanations make this book a winner.
In what may be both a word of caution to old hackers and encouragement to beginners, this book is very thorough in what it does cover. The five W's (none related to George) are addressed nearly with individual character-level granularity when examining code. It takes great pains to explain why you need a 'main' function, for example, and the specific significance of terminating (not separating) statements with a semicolon.
While this degree of explanation does become nearly maddening if you've programmed anything (even BASIC) before, it does lend a degree of insight into the language that may otherwise be missed in more casual tomes. The treatment of such things often taken for granted without explanation is what lends the book as a powerful refresher for teachers. At the same time, such long-winded dialog covering the most basic of functions and their syntax (as well as the mechanics of syntax applicable throughout the entire language) introduces C and C++ to the absolute beginner at a rate that keeps the level of fear to a minimum.
I highly recommend this book to anyone who wants a true understanding of the C and C++ languages, and who prefers to enter the pool one step at a time instead of bring thrown in headlong.
I wouldn't suggest trying to learn a language like C++ as a starter language, but after reading through most of this book I can not see how I could ever become more than a novice programmer without a little of this type of knowledge.
Some of the later chapters suffer from what I call 'sample asphyxiation', but that is a trend that I noticed in all of programming books I have read.
Create your own review


