Advanced C++ Programming Cookbook

Quinn, Rian

  • 出版商: Packt Publishing
  • 出版日期: 2020-01-31
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 454
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838559914
  • ISBN-13: 9781838559915
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

If you think you've mastered C++ and know everything it takes to write robust applications, you'll be in for a surprise. With this book, you'll gain comprehensive insights into C++, covering exclusive tips and interesting techniques to enhance your app development process.

You'll kick off with the basic principles of library design and development, which will help you understand how to write reusable and maintainable code. You'll then discover the importance of exception safety, and how you can avoid unexpected errors or bugs in your code. The book will take you through the modern elements of C++, such as move semantics, type deductions, and coroutines. As you advance, you'll delve into template programming - the standard tool for most library developers looking to achieve high code reusability. You'll explore the STL and learn how to avoid common pitfalls while implementing templates. Later, you'll learn about the problems of multithreaded programming such as data races, deadlocks, and thread starvation. You'll also learn high-performance programming by using benchmarking tools and libraries. Finally, you'll discover advanced techniques for debugging and testing to ensure code reliability.

By the end of this book, you'll have become an expert at C++ programming and will have gained the skills to solve complex development problems with ease.

  • Solve common C++ development problems by implementing solutions in a more generic and reusable way
  • Achieve different levels of exception safety guarantees by introducing precise declarations
  • Write library-quality code that meets professional standards
  • Practice writing reliable, performant code that exposes consistent behavior in programs
  • Understand why you need to implement design patterns and how it’s done
  • Work with complex examples to understand various aspects of good library design
  • Learn how to develop and design your own libraries
  • Find solutions to your app development problems and implement them in a highly reusable manner, following library development best practices
  • Explore advanced C++ features such as containers, coroutines, and modules

商品描述(中文翻譯)




如果你認為你已經掌握了C++並且知道撰寫強健應用程式所需的一切,那麼你將會感到驚訝。透過這本書,你將獲得對C++的全面洞察,涵蓋獨家技巧和有趣的技術,以增強你的應用程式開發過程。

你將從庫設計和開發的基本原則開始,這將幫助你理解如何撰寫可重複使用和可維護的程式碼。接著,你將了解例外安全的重要性,以及如何避免程式碼中的意外錯誤或 bug。本書將帶你深入探討C++的現代元素,例如移動語義、型別推斷和協程。隨著你的進步,你將深入研究模板編程 - 這是大多數庫開發人員追求高程式碼可重用性的標準工具。你將探索STL並學習在實現模板時如何避免常見陷阱。之後,你將學習多線程程式設計的問題,例如資料競爭、死鎖和線程饑餓。你還將使用基準測試工具和庫來學習高效能程式設計。最後,你將探索高級的調試和測試技術,以確保程式碼的可靠性。

通過閱讀本書,你將成為C++程式設計的專家,並獲得解決複雜開發問題的技能。


  • 通過以更通用和可重複使用的方式實現解決方案,解決常見的C++開發問題

  • 通過引入精確的聲明,實現不同級別的例外安全保證

  • 撰寫符合專業標準的庫質量程式碼

  • 練習撰寫可靠且高效能的程式碼,以在程式中展現一致的行為

  • 了解為什麼需要實現設計模式以及如何實現

  • 通過複雜的範例來理解良好庫設計的各個方面

  • 學習如何開發和設計自己的庫

  • 以高度可重複使用的方式找到解決方案並實現應用程式開發問題,遵循庫開發最佳實踐

  • 探索高級的C++功能,例如容器、協程和模組