What's best about C++ from Scratch is the author's clear and understandable tutorial of the C++ language using a single program, Decryptix!, which is built in steps throughout this book. Early chapters look at core C++ features (such as keywords and class design fundamentals) as the basic program functionality is written. The author's first chapters provide one of the clearest introductions to C++ you're likely to find.
Later chapters add more advanced features, such as computerized guessing and the ability to save and restore a game. The Decryptix! game feels just right for the book's approach. This command-line (nongraphical) game is just complex enough to introduce important C++ features (such as linked lists, templates, Standard Template Library [STL], and persistence) in a context most newcomers will easily understand.
A notable chapter on the C++ canonical methods, including default and copy constructors, explains how every well-behaved class should be implemented and will be invaluable to those approaching class design for the first time. The author's bibliography near the end of the book (which lists several of his other well-known C++ titles) shows you what to read next during the development of your C++ programming skills.
Written with a practical eye toward presenting the best of the C++ language quickly, C++ from Scratch lets the beginner get started with C++ successfully without much of the syntactic difficulty that's commonly associated with this powerful language. --Richard Dragan
Topics covered: C++ basics, encapsulation, delegation, specialization, operators and flow control, class design, pointers, arrays, linked lists, canonical methods, polymorphism, templates, STL, persistence, exceptions, Decryptix!.
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
16 of 17 people found the following review helpful:
3.0 out of 5 stars
Good idea but needs to be supplemented with other material.,
By
This review is from: C++ from Scratch with CDROM (Paperback)
I like this book, I really do. I love the idea of working on one project through the entire book. Since I'd like to program games at some point, the project described in the book (a game based on Mastermind) is one that has some relevance to me. There are problems however:1) Not completely appropriate for the target audience - Jesse Liberty at least implies that this book will teach you enough to learn C++ and be able to program in it. This is misleading. In the beginning, things move smoothly, concepts are explained and understood. As time goes on, more concepts are added and _usually_ incorporated into the growing project. This is where things get difficult. I much prefer understanding concepts in programs designed specifically to show how these concepts work before including them in a larger, 'holistic' project. Yes, he does this in some cases, but usually I find these cases inappropriate. Linked lists is one example he uses, and for the true beginner (or even one with programming experience) this is not an easy subject without some build-up. 2) Disjointed - The book is sort of like the 'X-Files' which has its 'Mythology' episodes (the ones that contribute to the overall story arc) and the 'One shot' episodes (monsters, weird occurrences unconnected with anything else). In the book you have the main project and every so often Liberty will jump off to the side to discuss a feature of C++ in some detail (linked list mentioned above). The effect is a disjointed one, often breaking the flow of understanding. 3) Restrictive - Probably my biggest worry is the effect on programming practices to a newcomer to C++. The concepts are taught, not with an eye for overall understanding, but rather in how they can be used for one very specific program. As new concepts are learned, often times the result is that a part of the project will be rewritten to use the new concept, leading to the impression that the earlier concept was obsolete and really has no purpose. I prefer being told not only how to use a concept, but when and where the concept is useful, what pitfalls there are, and see a few examples that show different ways to use the concept. Otherwise it's too easy to have tunnel vision, seeing the concept as only useful in limited circumstances. So... I said I liked this book, didn't I? I do, but with a very specific recommendation for people who buy it. Get both a general Primer (I recommend the Waite Group's C++ Primer Plus) and an intermediate text (Thinking in C++ is the one I recommend). Learn C++ using those and then read C++ from Scratch to see how many different concepts can fit together. This book would probably have gotten 4 stars if I had not felt it inappropriate for its target audience.
5 of 5 people found the following review helpful:
2.0 out of 5 stars
Poorly proofread, lacking thoroughness, good concept.,
By Frederick D Porter (fporter@micron.net) (Salt Lake City, UT) - See all my reviews
This review is from: C++ from Scratch with CDROM (Paperback)
Liberty needs to hire a competent proofreader. This book has quite a number of simple, obvious errors that broke my concentration as I was making my way through the examples. Most of the errors occur when the author was explaining a code sample. Keeping in mind that this is a book for C++ novices, I thought that the discussions of new concepts were lacking thoroughness. Also, some of the code examples include unintroduced syntax and concepts that weren't part of the current disscussion which distract and confuse. On the bright side though, I liked the teaching concept that Liberty used for this book. To bad continuity of learning was constantly interupted by so many errors (I found 11 errors between pages 61 and 115).
5 of 5 people found the following review helpful:
3.0 out of 5 stars
A good companion text -- kinda indispensable in fact.,
By A Customer
This review is from: C++ from Scratch with CDROM (Paperback)
This is not the book to get if you have no C++ experience and no other C++ books, in my opinion. It is not comprehensive. By the second chapter, the terminology and concepts will probably be overwhelming to someone with zero C/C++ background -- not because the book itself is not well written, but because I don't think it's possible to introduce C++ in this manner within such a brief format. A moderate proportion of the 400 or so pages is occupied by source code samples so space for explanation is not as expansive as it would appear.I recommend this book for intermediate beginners who have had an introduction to aspects of C/C++ through larger more in-depth books but do not have a good sense of how to take a programming concept and make a working model out of it. This book is innovative in its presentation of C++ as described above. Certain parts could stand to be fleshed out some, but overall it is fun to use. Most of the code worked for me, but there were some rough spots which I am still not clear as to if it is due to the book or with errors in my Microsoft compiler. I would really like to see more books of this type dealing with intermediate level programming projects of larger scale, with more detail in descriptions of methods used. The method of presentation is quite compelling.
Share your thoughts with other customers: Create your own review
|
|
Tag this product(What's this?)Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items. |