Advanced C++ (Paperback)
Alankus, Gazihan, Lizina, Olena, Mane, Rakesh
- 出版商: Packt Publishing
- 出版日期: 2019-10-31
- 售價: $1,850
- 貴賓價: 9.5 折 $1,758
- 語言: 英文
- 頁數: 762
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1838821139
- ISBN-13: 9781838821135
-
相關分類:
C++ 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$500$390 -
$1,188Fedora 11 and Red Hat Enterprise Linux Bible (Paperback)
-
$420$378 -
$480$408 -
$580$452 -
$1,680$1,596 -
$680$612 -
$360$281 -
$780$616 -
$630$599 -
$650$507 -
$500$390 -
$650$553 -
$450$351 -
$450$351 -
$1,880$1,786 -
$600$468 -
$1,110$1,110 -
$500$375 -
$680$537 -
$1,200$948 -
$680$537 -
$1,910$1,815 -
$780$608 -
$600$468
相關主題
商品描述
C++ is one of the most widely used programming languages and is applied in a variety of domains, right from gaming to graphical user interface (GUI) programming and even operating systems. If you're looking to expand your career opportunities, mastering the advanced features of C++ is key.
The book begins with advanced C++ concepts by helping you decipher the sophisticated C++ type system and understand how various stages of compilation convert source code to object code. You'll then learn how to recognize the tools that need to be used in order to control the flow of execution, capture data, and pass data around. By creating small models, you'll even discover how to use advanced lambdas and captures and express common API design patterns in C++. As you cover later chapters, you'll explore ways to optimize your code by learning about memory alignment, cache access, and the time a program takes to run. The concluding chapter will help you to maximize performance by understanding modern CPU branch prediction and how to make your code cache-friendly.
By the end of this book, you'll have developed programming skills that will set you apart from other C++ programmers.
- Delve into the anatomy and workflow of C++
- Study the pros and cons of different approaches to coding in C++
- Test, run, and debug your programs
- Link object files as a dynamic library
- Use templates, SFINAE, constexpr if expressions and variadic templates
- Apply best practice to resource management
- Explore C++ concepts through descriptive graphics and interactive exercises
- Learn how to keep your development bug-free with testing and debugging
- Discover various techniques to optimize your code
商品描述(中文翻譯)
C++ 是最廣泛使用的程式語言之一,應用於多個領域,從遊戲開發到圖形使用者介面 (GUI) 程式設計,甚至是作業系統。如果您希望擴展職業機會,掌握 C++ 的進階特性是關鍵。
本書從進階 C++ 概念開始,幫助您解讀複雜的 C++ 類型系統,並了解編譯的各個階段如何將源代碼轉換為物件代碼。接著,您將學習如何識別需要使用的工具,以控制執行流程、捕獲數據並傳遞數據。透過創建小型模型,您甚至會發現如何使用進階的 lambda 和捕獲,並在 C++ 中表達常見的 API 設計模式。隨著後續章節的深入,您將探索優化代碼的方法,了解記憶體對齊、快取存取以及程式執行所需的時間。最後一章將幫助您通過理解現代 CPU 的分支預測以及如何使您的代碼更適合快取來最大化性能。
在本書結束時,您將發展出使您與其他 C++ 程式設計師區別開來的程式設計技能。
- 深入了解 C++ 的結構和工作流程
- 研究不同 C++ 編碼方法的優缺點
- 測試、運行和除錯您的程式
- 將物件檔鏈接為動態庫
- 使用模板、SFINAE、constexpr if 表達式和可變參數模板
- 應用資源管理的最佳實踐
- 通過描述性圖形和互動練習探索 C++ 概念
- 學習如何通過測試和除錯保持開發過程無錯誤
- 發現各種優化代碼的技術