Data Structures and Algorithms with the C++ STL: A guide for modern C++ practitioners (Paperback)
暫譯: 使用 C++ STL 的資料結構與演算法:現代 C++ 實踐者指南 (平裝本)
Farrier, John
- 出版商: Packt Publishing
- 出版日期: 2024-02-29
- 售價: $1,800
- 貴賓價: 9.5 折 $1,710
- 語言: 英文
- 頁數: 458
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835468551
- ISBN-13: 9781835468555
-
相關分類:
C++ 程式語言、Algorithms-data-structures
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,570$1,492 -
$1,730$1,644 -
$1,520$1,444 -
$360$252 -
$2,689C Primer Plus, 6/e (Paperback)
-
$520$411 -
$352追蹤 Linux TCP\IP 代碼運行 -- 基於2.6內核
-
$580$458 -
$199世界著名計算機教材精選:計算機體系結構 (Computer Architecture)
-
$2,270$2,157
相關主題
商品描述
Explore the C++ 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
- 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 prac
商品描述(中文翻譯)
探索 C++ STL,提供有關向量、演算法和自定義類型的實用指導,適合中級開發者,並輔以真實世界的範例。
主要特點:
- 掌握 std::vector,了解為何它應該是您的首選容器
- 理解每個 STL 演算法及其實際應用
- 深入了解高級主題,如例外保證和執行緒安全
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
雖然標準模板庫 (STL) 提供了一套豐富的數據結構和演算法工具,但對於沒有專家指導的中級 C++ 開發者來說,導航其複雜性可能會令人畏懼。本書提供了對 STL 組件的徹底探索,涵蓋基本數據結構、高級演算法和併發特性。
本書從對 std::vector 的深入分析開始,突顯其在 STL 中的關鍵角色,並逐步提升您使用向量、管理記憶體和利用迭代器的能力。接著,本書進一步探討 STL 的數據結構,包括序列容器、關聯容器和無序容器,簡化容器適配器和視圖的概念,以增強您對現代 STL 編程的理解。轉向 STL 演算法,您將掌握排序、搜尋和轉換,並發展實施和修改演算法的最佳實踐技能。高級部分涵蓋使用自定義類型和演算法擴展 STL,以及併發特性、例外安全和並行演算法。
在本書結束時,您將轉變為一位熟練的 STL 實踐者,準備應對現實世界的挑戰,並構建高效且可擴展的 C++ 應用程式。
您將學到的內容:
- 使用 std::vector 簡化數據處理
- 掌握 STL 迭代器的高級用法
- 優化 STL 容器中的記憶體
- 實施自定義 STL 分配器
- 使用 STL 演算法進行排序和搜尋
- 創建與 STL 兼容的自定義類型
- 管理併發並確保執行緒安全
- 在 STL 中利用並行演算法的力量
本書適合誰:
本書適合希望提升其軟體開發技能的中級 C++ 開發者。假設讀者對基本 C++ 語法和物件導向程式設計 (OOP) 有一定的熟悉度,並對數據結構和演算法有一些接觸。
本書專為軟體工程師、計算機科學學生和業餘程式設計師量身打造,深入探討 C++ STL 的實際應用、性能提升和高效編碼實踐。