Using the C++ Standard Template Libraries

Nonfiction, Computers, Programming, Software Development, Programming Languages, General Computing
Cover of the book Using the C++ Standard Template Libraries by Ivor Horton, Apress
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Ivor Horton ISBN: 9781484200049
Publisher: Apress Publication: October 11, 2015
Imprint: Apress Language: English
Author: Ivor Horton
ISBN: 9781484200049
Publisher: Apress
Publication: October 11, 2015
Imprint: Apress
Language: English

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 Library includes 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 to data 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.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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 Library includes 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.

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 to data 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.

More books from Apress

Cover of the book Artificial Intelligence for .NET: Speech, Language, and Search by Ivor Horton
Cover of the book Dynamic SQL by Ivor Horton
Cover of the book Expert Oracle RAC 12c by Ivor Horton
Cover of the book Python Recipes Handbook by Ivor Horton
Cover of the book MATLAB Matrix Algebra by Ivor Horton
Cover of the book SmartWatch Design Fundamentals by Ivor Horton
Cover of the book Defending IoT Infrastructures with the Raspberry Pi by Ivor Horton
Cover of the book Certified OpenStack Administrator Study Guide by Ivor Horton
Cover of the book Practical Oracle E-Business Suite by Ivor Horton
Cover of the book The Handbook of Financial Modeling by Ivor Horton
Cover of the book Bad Programming Practices 101 by Ivor Horton
Cover of the book The Manager's Guide to Web Application Security by Ivor Horton
Cover of the book Use Your PC to Build an Incredible Home Theater System by Ivor Horton
Cover of the book Python for the Busy Java Developer by Ivor Horton
Cover of the book Beginning Oracle Application Express 5 by Ivor Horton
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy