Using the C++ Standard Template Libraries


Utilizing the C++ Customary Template Libraries

E-book Description:

Utilizing the C++ Customary Template Libraries is a up to date remedy that teaches the generic programming capabilities that the C++ 14 Customary Library offers. On this ebook, writer Ivor Horton explains what the category and performance templates obtainable with C++ 14 do, and the best way to use them in a sensible context.

You’ll learn to create containers, and the way iterators are used with them to entry, modify, and lengthen the info parts they comprise. You’ll additionally study stream iterators that may switch information between containers and streams, together with file streams. The perform templates that outline algorithms are defined intimately, and also you’ll learn to cross perform objects or lambda expressions to them to customise their habits. Many working examples are included to show the best way to apply the algorithms with various kinds of containers.

After studying this ebook, you’ll perceive the scope and energy of the templates that the C++ 14 Customary Library consists of and the way these can tremendously scale back the coding and improvement time for a lot of functions. You’ll be capable of mix the category and performance templates to nice impact in coping with real-world issues.

The templates within the Customary Library present you as a C++ programmer with a complete set of effectively carried out generic programming instruments that you need to use for many forms of utility.

Find out how to use Customary Library templates along with your C++ functions.<
Perceive the various kinds of containers which might be obtainable and what they’re used for.
Find out how to outline your individual class sorts to satisfy the necessities of use with containers.
What iterators are, the traits of the varied forms of iterators, and the way they permit algorithms to be utilized to the info in various kinds of container.
How one can outline your individual iterator sorts.
What the templates that outline algorithms do, and the way you apply them to information saved in containers and arrays.
Find out how to entry {hardware} clocks and use them for timing execution.
Find out how to use the templates obtainable for compute-intensive numerical information processing.
Find out how to create and use pseudo-random quantity mills with distribution objects.

Tags: #IT Ebooks

Comments are closed.