STL Tutorial and Reference Guide
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library
STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library

STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

The Standard Template Library (STL) represents a breakthrough in C++ programming methodology. Comprising a set of C++ generic data structures and algorithms, STL provides reusable, interchangeable components adaptable to many different uses without sacrificing efficiency. Adopted by the ANSI/ISO C++ Standards Committee, STL is an important addition to every C++ programmer's portfolio of skills. This book introduces you to STL and provides the information and techniques you need to become a proficient STL programmer. The book 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, and function objects. Several larger, non-trivial applications, including a dictionary lookup program, demonstrate how to put STL's power and flexibility to work. The book will also show you how to integrate STL with object-oriented programming techniques, while the comprehensive and detailed STL reference guide will be a constant and convenient companion as you learn to work with the library. 0201633981B04062001

Table of Contents:
Foreword. Preface. I. A TUTORIAL INTRODUCTION TO STL. 1. Introduction. Who Should Read This Book. What Generic Programming Is and Why Its Important. How C++ Templates Enable Generic Programming. Understanding STLs Performance Guarantees. STL Header Files. Conventions Used in Examples. 2. Overview of STL Components. Containers. Generic Algorithms. Iterators. Function Objects. Adaptors. Allocators. 3. How STL Differs from Other Libraries. Extensibility. Component Interchangeability. Algorithm/Container Compatibility. 4. Iterators. Input Iterators. Output Iterators. Forward Iterators. Bidirectional Iterators. Random Access Iterators. The STL Iterator Hierarchy: Combining Algorithms and Containers Efficiently. Revisiting Input and Output: Stream Iterators. Specification of Iterator Categories Required by STL Algorithms. Designing Generic Algorithms. Why Some Algorithms Require More Powerful Iterators. Choosing the Right Algorithm. Constant Versus Mutable Iterator Types. Iterator Categories Provided by STL Containers. 5. Generic Algorithms. Basic Algorithm Organization in STL. Nonmutating Sequence Algorithms. Mutating Sequence Algorithms. Sorting-Related Algorithms. Generalized Numeric Algorithms. 6. Sequence Containers. Vectors. Deques. Lists. 7. Sorted Associative Containers. Sets and Multisets. Maps and Multimaps. 8. Function Objects. Example: Function Objects That Do Comparisons. How Function Objects Differ from Function Pointers. STL-Provided Function Objects. 9. Container Adaptors. Stack Container Adaptor. Queue Container Adaptor. Priority Queue Container Adaptor. 10. Iterator Adaptors. Reverse Iterators. Insert Iterators. 11. Function Adaptors. Negators. Binders. Adaptors for Pointers to Functions. II. PUTTING IT TOGETHER: EXAMPLE PROGRAMS. 12. A Program for Searching a Dictionary. Finding Anagrams of a Given Word. Interacting with the Standard I/O Streams. Searching the Dictionary. Generating Permutations. How Fast Is It? 13. A Program for Finding All Anagram Groups. Finding Anagram Groups. Defining a Data Structure to Work with STL. Creating Function Objects for Comparisons. The Complete Anagram Group Finding Program. Reading the Dictionary into a Vector of PS Objects. Using a Comparison Object to Sort Word Pairs. Using an Equality Predicate Object to Search for Adjacent Equal Elements. Using a Function Adaptor to Obtain a Predicate Object. Copying the Anagram Group to the Output Stream. Output of the Anagram Program. 14. A Better Anagram Program: Using the List and Map Containers. A Data Structure Holding Pairs of Iterators. Storing Information in a Map of Lists. Outputting the Anagram Groups in Order of Size. A Better Anagram Program. Output of the Program. Why Use a Map Container? 15. A Faster Anagram Program: Using Multimaps. Finding Anagram Groups, Version 3. Declaration of the Multimap. Reading the Dictionary into the Multimap. Finding the Anagram Groups in the Multimap. Outputting the Anagram Groups in Order of Size. Output of the Program. How Fast Is It? Note on a Compiler Problem. 16. Defining an Iterator Class. A New Kind of Iterator: Counting Iterator. A Counting Iterator Class. 17. Combining STL with Object-Oriented Programming. Using Inheritance and Virtual Functions. Avoiding "Code Bloat" from Container Instances. III. STL REFERENCE GUIDE. 18. Iterator Reference Guide. Input Iterator Requirements. Output Iterator Requirements. Forward Iterator Requirements. Bidirectional Iterator Requirements. Random Access Iterator Requirements. Istream Iterators. Ostream Iterators. Reverse Iterators. Back Insert Iterators. Front Insert Iterators. Insert Iterators. 19. Container Reference Guide. Requirements. Organization of the Container Class Descriptions. Vector. Deque. List. Set. Multiset. Map. Multimap. Stack Container Adaptor. Queue Container Adaptor. Priority Queue Container Adaptor. 20. Generic Algorithm Reference Guide. Organization of the Algorithm Descriptions. Nonmutating Sequence Algorithm Overview. For Each. Find. Adjacent Find. Count. Mismatch. Equal. Search. Mutating Sequence Algorithm Overview. Copy. Swap. Transform. Replace. Fill. Generate. Remove. Unique. Reverse. Rotate. Random Shuffle. Partition. Sorting-Related Algorithms Overview. Sort. Nth Element. Binary Search. Merge. Set Operations on Sorted Structures. Heap Operations. Min and Max. Lexicographical Comparison. Permutation Generators. Generalized Numeric Algorithms Overview. Accumulate. Inner Product. Partial Sum. Adjacent Difference. 21. Function Object and Function Adaptor Reference Guide. Requirements. Arithmetic Operations. Comparison Operations. Logical Operations. Negator Adaptors. Binder Adaptors. Adaptors for Pointers to Functions. 22. Allocator Reference Guide. Introduction. The Default Allocator Interface. Custom Allocators. Appendix A. Non-STL Include Files Used in Example Programs. File Used in "Anagram Finding" Examples in Chapters 13 and 14. Files Used in "Shape Example" in Chapter 17. Appendix B. How to Obtain STL Source Code and Related Files. Internet Address for HP Reference Implementation of STL. World Wide Web Address for Source Code for Examples in this Book. Other World Wide Web Resources. Other Related STL and C++ Documents. STL Compliant Vendors. References. Index.


Best Sellers


Product Details
  • ISBN-13: 9780201633986
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 241 mm
  • No of Pages: 432
  • Sub Title: C++ Programming with the Standard Template Library
  • Width: 191 mm
  • ISBN-10: 0201633981
  • Publisher Date: 11 Mar 1996
  • Binding: Hardback
  • Language: English
  • Spine Width: 33 mm
  • Weight: 890 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library
Pearson Education (US) -
STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!