There has never been an introductory C++ book like this. It actually consists of a live dialogue and email correspondence between an expert C++ programmer and a complete novice: a dialogue that continues until the novice truly understands -- and so do you. First published as Who's Afraid of C++ and Who's Afraid of More C++, this book brings together carefully crafted material proven to teach novices every key concept involved in C++ programming. Informally written yet disciplined in approach, it doesn't just teach you syntax -- it teaches you how to think like a programmer. Along the way, you'll understand everything from the absolute basics (how programs are converted from a high-level language to machine instructions) to challenging topics like inheritance, polymorphism, and the effective use of pointers.
"synopsis" may belong to another edition of this title.
STEVE HELLER, President of Chrysalis Software Corporation, is a developer based in Sulphur Springs, Texas. His books include The C++ Training Guide, The Java Training Guide, Introduction to C++, Optimizing C++, Efficient C/C++, and Who's Afraid of Java?
Start here if you want to master C++. No experience necessary. Honestly.
Even if you have absolutely no programming experience, this book will help you truly master C++.
You won't merely learn the basics. You'll master sophisticated, professional techniques—up to and including the effective use of encapsulation, inheritance, polymorphism, and pointers.
You'll never find yourself copying syntax without understanding it. You'll learn to think like a programmer, engineer code that delivers great reliability and performance, and avoid the pitfalls that await every new C++ developer.
These are powerful promises. But Learning to Program in C++ is a remarkable book.
It's a book-length dialogue between renowned C++ developer Steve Heller and a real-life programming novice-a novice with an uncanny ability to ask the questions you'd ask-and get crystal-clear, on-target answers.
It starts from absolute scratch, making only one assumption: you're ready to learn. And it's more like reading a novel—or participating in an intelligent discussion—than any computer book you've ever seen.
Steve Heller's Learning to Program in C++. It's a pleasure to read. And if you pay attention, you'll walk away with a superb understanding of C++: what to do, how to do it, and above all, why.
Previously published as Who's Afraid of C++? and Who's Afraid of More C++?: Both classic books, integrated and updated, together for the first time, at a great price!
Preface
Is this book for you? If you're a programmer in a language other than C++ and you want to upgrade your skills, then you shouldn't have much difficulty figuring that out for yourself by reading a few pages. But what if you have no previous programming experience? In that case, here's a little quiz that may help you decide:
Do you want to know how the programs in your computer work inside and how to write some of your own?
Are you willing to exert yourself mentally to learn a complex technical subject?
Do you have a sense of humor?
If you've answered yes to these questions and follow through with the effort required, then you will get a lot out of this book.
The common wisdom states that programming is a difficult subject that should be reserved for a small number of specialists. One of the main reasons that I have written this book is that I believe this attitude is wrong; it is possible, and even desirable, for you to learn how programs work and how to write them. Those who don't understand how computers perform their seemingly magical feats are at an increasing disadvantage in a society ever more dependent on these extraordinary machines.
Regardless of the topic, I can see no valid reason for a book to be stuffy and dry, and I've done everything possible to make this one approachable. However, don't let the casual tone fool you into thinking that the subject is easy; there is no royal road to programming, any more than there is to geometry. Especially if you have no prior experience in programming, C++ will stretch your mind more than virtually any other area of study.
But why should you read this book rather than any of dozens of other introductory C++ books? The ingredient that makes this book unique is the participation of a real, live person who didn't already know the material before reading it: Susan Heller, my wife. Her main contribution has been to read every line of the first draft of the book and to ask questions via e-mail about anything she didn't understand. I answered her questions, also by e-mail, until both of us were satisfied that she understood the material in question and that the text was clear. After the text was otherwise complete, I extracted appropriate parts of the e-mail exchanges, edited them for spelling, punctuation, and so forth, and included them in the text where they will be most useful to the reader.
Of course, these exchanges do take up room in the book that might otherwise be filled with more information about C++ and programming. Therefore, if you want to get the absolute maximum of new information per page, you might want to select another book such as Bjarne Stroustrup's excellent book, The C++ Programming Language, 3rd Edition (ISBN 0-201-88954-4). However, the vast majority of messages I've received from readers of my other books for beginners have indicated that they found my approach very helpful, and I suspect that most readers of this book will feel the same.
Susan has written an account of her involvement in this project, which immediately follows this Preface. I recommend that you read that account before continuing with the technical material following it, as it explains how and why she contributed to making your task easier and more enjoyable.
Speaking of Susan, here is a bit of correspondence between us on the topic of how one should read this book, which occurred after her first reading of what is now Chapter 2, "Hardware Fundamentals," and Chapter 3, "Basics of Programming."
Susan: Let me say this: to feel like I would truly understand it, I would really need to study this about two more times. Now, I could do this, but I am not sure you would want me to do so. I think reading a chapter once is enough for most people.
Steve: As a matter of fact, I would expect the reader of my book to read and study this chapter several times if necessary; for someone completely new to programming, I imagine that it would be necessary. Programming is one of the most complex human disciplines, although it doesn't take the mathematical skills of a subject such as nuclear physics, for example. I've tried to make my explanations as simple as possible, but there's no way to learn programming (or any other complex subject) without investing a significant amount of work and thought.
After she had gone through the text a number of times and had learned a lot from the process, we continued this discussion as follows:
Susan: Well then, maybe this should be pointed out in a Preface or something. Of course, it would eventually be obvious to the reader as it was to me, but it took me a while to come to that conclusion. The advantage of knowing this in advance is that maybe I would not be so discouraged that I was not brilliant after one read of a chapter.
Steve: I will indeed mention in the preface that the reader shouldn't be fooled by the casual tone into thinking that this is going to be a walk in the park. In any event, please don't be discouraged. It seems to me that you have absorbed a fair amount of very technical material with no previous background; that's something to be proud of!
We'll be hearing from Susan many more times in the course of the book. She will be checking in frequently in the form of extracts from the e-mail discussion we engaged in during the testing and revising process. I hope you will find her comments and my replies add a personal touch to your study of this technical material.
While we're on the topic of your studying, this would be a good time to tell you how to get updates and help with any errors you might find in the book or with any other questions you might have. The best way is to visit my WWW site, steveheller. My email address is steve@steveheller.
In the event that you enjoy this book and would like to tell others about it, you might want to write an online review on Amazon, which you can do by visiting my home page and following the links to the "customer reviews" on Amazon.
I should also tell you how the various typefaces are used in the book. Helvetica is used for program listings, for terms used in programs, and for words defined by the C++ language. Italics are used primarily for technical terms that are found in the glossary, although they are also used for emphasis in some places. The first time that a particular technical term is used, it is in bold face; if it is a term defined in the C++ language, it will be in bold Helvetica.
Now that those preliminaries are out of the way, let's proceed. The next voice you will hear is that of Susan, my test reader. I hope you get as much out of her participation in this book as I have.
"About this title" may belong to another edition of this title.
FREE shipping within U.S.A.
Destination, rates & speedsSeller: SecondSale, Montgomery, IL, U.S.A.
Condition: Very Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00083758199
Quantity: 1 available
Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 0.15. Seller Inventory # G0130324108I4N00
Quantity: 1 available
Seller: AwesomeBooks, Wallingford, United Kingdom
Paperback. Condition: Very Good. Learning to Program in C++ This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Seller Inventory # 7719-9780130324108
Quantity: 1 available
Seller: Bahamut Media, Reading, United Kingdom
Paperback. Condition: Very Good. This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Seller Inventory # 6545-9780130324108
Quantity: 1 available
Seller: Toscana Books, AUSTIN, TX, U.S.A.
Paperback. Condition: new. Excellent Condition.Excels in customer satisfaction, prompt replies, and quality checks. Seller Inventory # Scanned0130324108
Quantity: 1 available
Seller: BennettBooksLtd, North Las Vegas, NV, U.S.A.
paperback. Condition: New. In shrink wrap. Looks like an interesting title! Seller Inventory # Q-0130324108
Quantity: 1 available
Seller: dsmbooks, Liverpool, United Kingdom
paperback. Condition: Very Good. Very Good. book. Seller Inventory # D8S0-3-M-0130324108-6
Quantity: 1 available