BLOCKQUOTE The second edition is clearer and adds examples on how to use STL in a practical environment Moreover, it is concerned with performance and tools for its measurement Both changes are very welcome Lawrence Rauchwerger, Texas AM University So many algorithms, so little time The generic algorithms chapter with so many examples than in the previous edition is delightful The examples work cumulatively to give a sense of comfortable competence with the algorithms, containers, and iterators used Max A Lebow, Software Engineer, Unisys Corporation The STL Tutorial and Reference Guide is highly acclaimed as the most accessible, comprehensive, and practical introduction to the Standard Template Library STL Encompassing a set of C generic data structures and algorithms, STL provides reusable, interchangeable components adaptable to many different uses without sacrificing efficiency Written by authors who have been instrumental in the creation and practical application of STL, STL Tutorial and Reference Guide, Second Edition includes a tutorial, a thorough description of each element of the library, numerous sample applications, and a comprehensive reference You will find in depth explanations of iterators, generic algorithms, containers, function objects, and much Several larger, non trivial applications demonstrate how to put STLs power and flexibility to work This book will also show you how to integrate STL with object oriented programming techniques In addition, the comprehensive and detailed STL reference guide will be a constant and convenient companion as you learn to work with the library This second edition is fully updated to reflect all of the changes made to STL for the final ANSI ISO C language standard It has been expanded with new chapters and appendices Many new code examples throughout the book illustrate individual concepts and techniques, while larger sample programs demonstrate the use of the STL in real world C software development An accompanying Web site, including source code and examples referenced in the text, can be found at...
|Title||:||STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (paperback) (Addison-Wesley Professional Computing Series)|
|Publisher||:||Addison Wesley Professional Auflage 2 27 M rz 2001|
|Number of Pages||:||546 Seiten|
|File Size||:||896 KB|
|Status||:||Available For Download|
|Last checked||:||21 Minutes ago!|
STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (paperback) (Addison-Wesley Professional Computing Series) Reviews
Poorly organized and poorly presented. For instance, in the detailed presentation of sets and multisets, nowhere is it mentioned what the difference between the two is. You have to go to the "Overview of STL components" to get the information.Secondly, you have to wade through a whole bunch of code to find what it is that they are trying to say. To continue my previous illustration, how do I insert values into a set or multiset? They have one line:"The simplest 'insert' member function for 'set' and 'multiset' takes a single argument of type 'value_type', which type 'Key', and inserts a copy of the argument."This one line is followed by a page of code which I have to dredge through to find out that 'insert' is the method to be used. The authors should have done the following:
Let us assume you have defined the following set:set > CharSet;To insert the letter 'a' into this CharS! et, you would sayCharSet.insert('a'); The authors should then proceed to present a more difficult example.Anyway, my recommendation is DON'T buy this book. Ever. Till the authors learn how to present their stuff properly.
If you are just starting, you can't lose with this. A three part book - philosophy and overview of generic programming / putting STL to use (an anagram machine) / reference. Well laid out, easy to follow, brings you from zero knowledge to above average ability quickly. I hesitate to give it five stars because it fails to mention several large chunks of STL that you could immediately use, including the functionals and some very useful pieces (strings (with iostreams), bit sets, fstreams, locales, limits, etc). Aesthetically pleasing next to the Gang-o-Four (Design Patterns - also by Addison-Wesley).
This book merely states the obvious. It'll say things like this sort algorithm executes in O(n), but it won't tell you why. Reading O(n) pages like that gets you bored like O(n*n*n*n).The scope is limited to storage containers and algorithms. It doesn't cover smart pointers. It doesn't cover how STL cooperates with other libraries and operating systems. (Which is required for any application.) Many examples are overly simplified and clinically correct.After reading this you won't be able to use STL, you won't be able to explain what a quicksort is and why it's faster on a vector, and you won't know how to create your own templates.I'm truly sorry I spend money on this one.
Whether you're a newcomer to the STL or already know a bit about it, this is the book for you. All the major STL topics are covered in details and the examples are short enough to quickly absorb, yet detailed enough that you will understand the concepts they are dealing with. All in all this is an excellent guide to the Standard Template Library. Even when you've read it from cover to cover you'll still find it indispensible as a desktop referenc
This book deals with STL like in virtual algorythmic world. But that makes it possible to show the principles and usage of STL without loosing time or space for all the modern internet topics. The book is very precise and systematic. It helped me applying STL, when I first used it, and it worked. The book consists of three parts: 1.) A Tutorial Introduction to STL, 2.) Putting It Together: Example Programs, 3.) STL Reference Guide.
I must have missed something. This book not only fails to teach you STL, but it is not useful as a reference either. Let's say, for example, you want to learn how to use the STL priority queue. Good luck with this book. You are better off reading the STL header files. Please, save your money, whoever wrote this book must have taken some technical documents and randomly pasted them together. Ugh. Just further proves that just because someone knows alot on a subject doesn't mean they can teach others about it.
I found this to be a wunnerful book given that I wasn't very experienced using STL when I read it. It provided the necessary hooks for me to make better sense out of the two extremes on the continuum (see two references below). The reference section could be arranged more usefully, but this is a minor carp. I highly recommend this one for folks trying to get their minds around STL. This is an accessible cover-to-cover read. Gotta qualify the numerical rating. I consider this a 10 for the non-expert STL audience trying to understand STL. Probably more of a 6 for experienced users who are more interested in reference manuals. I find that as I get more and more familiar with STL, I look more and more frequently at the two books below. However, these books are now vastly more useful after reading "the STL Tutorial and Reference Guide". "The STL
" by Glass and Schuchert. Excellent brief synopsis of the interfaces, not much supporting detail but very handy. I reach for this one first when I want to use something in STL. If I need more details, I look in... "C++ Programmer's guide to the Standard Template Library" by Mark Nelson, very detailed in its treatment of most *all* of the parts of STL. Thick, but something that provides all the details has to be.
The book itself isn't that bad. It is a good high level tutorial without too much detail. However, if you want a tutorial and reference that is more up to date I'd recommend checking out The C++ Standard Library: A Tutorial and Reference. It was recently published and covers a broader scope (the whole standard library, not just the STL).