Kniha Data Structures and Algorithms with the C++ STL John Farrier

Data Structures and Algorithms with the C++ STL

Autor: John Farrier
Jazyk: Angličtina
Vazba: Brožovaná
Vydavatel: Packt Publishing
Dostupnost: Skladem u dodavatele
Odesíláme za 9-15 dnů
972
Explore the C++ 23 STL with practical guidance on vectors, algorithms, and custom types for intermed...

Informace o knize

Autor
Jazyk
Angličtina
Vazba
Kniha - Brožovaná
Vydáno
2024
Stránek
458
EAN
9781835468555
ISBN
1835468551
Enbook ID
45158769
Vydavatel
Hmotnost
849
Rozměry
191 x 235 x 25

Kompletní popis

Explore the C++ 23 STL with practical guidance on vectors, algorithms, and custom types for intermediate developers, enriched by real-world examples.

Key Features

  • Master the std::vector and understand why it should be your default container of choice
  • Understand each STL algorithm and its practical applications
  • Gain insights into advanced topics such as exception guarantees and thread safety
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

While the Standard Template Library (STL) offers a rich set of tools for data structures and algorithms, navigating its intricacies can be daunting for intermediate C++ developers without expert guidance. This book offers a thorough exploration of the STL's components, covering fundamental data structures, advanced algorithms, and concurrency features.

Starting with an in-depth analysis of the std::vector, this book highlights its pivotal role in the STL, progressing toward building your proficiency in utilizing vectors, managing memory, and leveraging iterators. The book then advances to STL's data structures, including sequence containers, associative containers, and unordered containers, simplifying the concepts of container adaptors and views to enhance your knowledge of modern STL programming. Shifting the focus to STL algorithms, you'll get to grips with sorting, searching, and transformations and develop the skills to implement and modify algorithms with best practices. Advanced sections cover extending the STL with custom types and algorithms, as well as concurrency features, exception safety, and parallel algorithms.

By the end of this book, you'll have transformed into a proficient STL practitioner ready to tackle real-world challenges and build efficient and scalable C++ applications.

What you will learn

  • Streamline data handling using the std::vector
  • Master advanced usage of STL iterators
  • Optimize memory in STL containers
  • Implement custom STL allocators
  • Apply sorting and searching with STL algorithms
  • Craft STL-compatible custom types
  • Manage concurrency and ensure thread safety in STL
  • Harness the power of parallel algorithms in STL

Who this book is for

This book is for intermediate-level C++ developers looking to enhance their software development skills. Familiarity with basic C++ syntax and object-oriented programming (OOP) as well as some exposure to data structures and algorithms is assumed.

Tailored to software engineers, computer science students, and hobbyist programmers, this book delves into C++ STL for practical application, performance enhancement, and efficient coding practices.

Table of Contents

  1. The Basics of std::vector
  2. Mastering Iterators with std::vector
  3. Mastering Memory and Allocators with std::vector
  4. Mastering Algorithms with std::vector
  5. Making a Case for std::vector
  6. Advanced Sequence Container Usage
  7. Advanced Ordered Associative Container Usage
  8. Advanced Unordered Associative Container Usage
  9. Advanced Container Adaptor Usage
  10. Advanced Container View Usage
  11. Fundamental Algorithms and Searching
  12. Manipulation and Transformation
  13. Numeric and Range-Based Operations
  14. Permutations, Partitions, and Heaps
  15. STL with Ranges
  16. Creating STL-Types Containers
  17. Creating STL-Compatible Algorithms
  18. Type Traits and Policies
  19. Exception Safety
  20. Thread Safety and Concurrency with the STL
  21. STL Interaction with Concepts and Coroutines
  22. Parallel Algorithms with the STL

Mohlo by vás zajímat

1 012

Practical C++ Design

Adam B. Singer
752

Extreme C

Kamran Amini
1 257
347
1 192

Mastering C++ Programming

Jeganathan Swaminathan
1 257
752

Advanced C++

Olena Lizina
1 003
1 192

C BOOKCAMP

BUONTEMPO FRANCES
1 232

Foundations of C++/CLI

Gordon Hogenson
1 455
1 299

C++ Primer

Stanley Lippman
1 299
927
3 875

Advanced C Programming

Deepalin Mrs Bhoskar
475
1 232

Zákaznicí kteří koupili tuto knihu koupili také

871

C# Interview Guide

Konstantin Semenenko
961
813

Clean C++20

Stephan Roth
701

C++20 - The Complete Guide

Nicolai M. Josuttis
1 632

C++17 - The Complete Guide

Josuttis Nicolai M. Josuttis
1 229