Data Structures and Algorithms with the C++ STL
eBook - ePub

Data Structures and Algorithms with the C++ STL

A guide for modern C++ practitioners

  1. 458 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Data Structures and Algorithms with the C++ STL

A guide for modern C++ practitioners

About this book

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.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Data Structures and Algorithms with the C++ STL by John Farrier in PDF and/or ePUB format, as well as other popular books in Informatik & Programmierung in C++. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Data Structures and Algorithms with the C++ STL
  2. Contributors
  3. Preface
  4. Part 1: Mastering std::vector
  5. 1
  6. 2
  7. 3
  8. 4
  9. 5
  10. Part 2: Understanding STL Data Structures
  11. 6
  12. 7
  13. 8
  14. 9
  15. 10
  16. Part 3: Mastering STL Algorithms
  17. 11
  18. 12
  19. 13
  20. 14
  21. 15
  22. Part 4: Creating STL-Compatible Types and Algorithms
  23. 16
  24. 17
  25. 18
  26. Part 5: STL Data Structures and Algorithms: Under the Hood
  27. 19
  28. 20
  29. 21
  30. 22
  31. Index
  32. Other Books You May Enjoy