Advanced C++ Programming Cookbook
暫譯: 進階 C++ 程式設計食譜

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++ 的全面見解,涵蓋獨特的技巧和有趣的技術,以增強你的應用程式開發過程。

你將從庫設計和開發的基本原則開始,這將幫助你理解如何撰寫可重用和可維護的代碼。接著,你將發現例外安全性的重要性,以及如何避免代碼中的意外錯誤或漏洞。這本書將帶你了解 C++ 的現代元素,例如移動語義、類型推導和協程。隨著進展,你將深入模板編程——這是大多數庫開發者尋求實現高代碼重用性的標準工具。你將探索 STL,並學習在實現模板時如何避免常見的陷阱。稍後,你將學習多線程編程的問題,例如數據競爭、死鎖和線程飢餓。你還將通過使用基準測試工具和庫來學習高效能編程。最後,你將發現用於調試和測試的高級技術,以確保代碼的可靠性。

在這本書結束時,你將成為 C++ 編程的專家,並獲得輕鬆解決複雜開發問題的技能。

- 以更通用和可重用的方式實現解決方案,解決常見的 C++ 開發問題
- 通過引入精確的聲明來實現不同級別的例外安全性保證
- 撰寫符合專業標準的庫質量代碼
- 實踐撰寫可靠、高效能的代碼,確保程序中行為的一致性
- 理解為什麼需要實現設計模式以及如何實現
- 使用複雜的範例來理解良好庫設計的各個方面
- 學習如何開發和設計自己的庫
- 找到應用程式開發問題的解決方案,並以高度可重用的方式實施,遵循庫開發的最佳實踐
- 探索高級 C++ 特性,例如容器、協程和模組

最後瀏覽商品 (1)