Using the C++ Standard Template Libraries

Using the C++ Standard Template Libraries - Paperback

$82.58
Skip to product information
Using the C++ Standard Template Libraries

Using the C++ Standard Template Libraries - Paperback

$82.58
Order today — estimated delivery in 5–10 business days
Free shipping on orders $50+, otherwise $4.99. Tracked USPS delivery to all 50 states.
Arrives damaged? We replace it free. Brand-new copy, packed in a US warehouse.

by Ivor Horton (Author)

Using the C++ Standard Template Libraries is a contemporary treatment that teaches the generic programming capabilities that the C++ 14 Standard Library provides. In this book, author Ivor Horton explains what the class and function templates available with C++ 14 do, and how to use them in a practical context.

You'll learn how to create containers, and how iterators are used with them to access, modify, and extend the data elements they contain. You'll also learn about stream iterators that can transfer data between containers and streams, including file streams. The function templates that define algorithms are explained in detail, and you'll learn how to pass function objects or lambda expressions to them to customize their behavior. Many working examples are included to demonstrate how to apply the algorithms with different types of containers.

After reading this book, you will understand the scope and power of the templates that the C++ 14 Standard Libraryincludes and how these can greatly reduce the coding and development time for many applications. You'll be able to combine the class and function templates to great effect in dealing with real-world problems.

The templates in the Standard Library provide you as a C++ programmer with a comprehensive set of efficiently implemented generic programming tools that you can use for most types of application.


  • How to use Standard Library templates with your C++ applications.
  • Understand the different types of containers that are available and what they are used for.
  • How to define your own class types to meet the requirements of use with containers.
  • What iterators are, the characteristics of the various types of iterators, and how they allow algorithms to be applied to the data in different types of container.
  • How you can define your own iterator types.
  • What the templates that define algorithms do, and how you apply them todata stored in containers and arrays.
  • How to access hardware clocks and use them for timing execution.
  • How to use the templates available for compute-intensive numerical data processing.
  • How to create and use pseudo-random number generators with distribution objects.
  • Author Biography

    Ivor Horton is self-employed in consultancy and writes programming tutorials. He worked for IBM for many years and holds a bachelor's degree, with honors, in mathematics. Horton's experience at IBM includes programming in most languages (like assembler and high-level languages on a variety of machines), real-time programming, and designing and implementing real-time closed loop industrial control systems. He has extensive experience teaching programming to engineers and scientists (Fortran, PL/1, APL, etc.). Horton is an expert in mechanical, process, and electronic CAD systems; mechanical CAM systems; and DNC/CNC systems.

    Number of Pages: 489
    Dimensions: 1.05 x 10 x 7 IN
    Illustrated: Yes
    Publication Date: September 29, 2015
    Book details
    AuthorIvor Horton
    FormatPaperback
    Pages489
    PublisherApress
    PublishedSeptember 29, 2015
    ISBN-139781484200056
    ConditionBrand new
    Shipping

    Every book ships brand new from a US warehouse within 1–4 business days and travels by USPS Media Mail with tracking. Most orders arrive 5–10 business days after you order; holidays and bad weather can add a few days.

    Free shipping on orders $50+, otherwise $4.99 per order. We deliver to all 50 states, APO/FPO addresses and US territories. Shipping policy

    Damaged book? Returns

    If your book arrives damaged, defective or isn't the title you ordered, email support@readridge.com within 7 days of delivery with your order number and a photo. We'll send a free replacement or a full refund — no need to ship it back unless we ask.

    Because each book is shipped new and sealed to you, we can't accept returns for change of mind or a title ordered by mistake. Please double-check the format and edition before checkout. Refund policy

    Sending it as a gift?

    Just enter the recipient's shipping address at checkout. The box arrives labeled “Your Book Order”, with no receipt or prices inside — gift-ready by default.

    More for your shelf