買這商品的人也買了...
-
$505深度探索嵌入式操作系統(從零開始設計架構和開發)
-
$403軟件保護及分析技術——原理與實踐
-
$505深入分析 GCC
-
$594$564 -
$719$683 -
$1,368$1,300 -
$352C++ 新經典:模板與泛型編程
-
$894$849 -
$602深入理解 Linux 網絡: 修煉底層內功,掌握高性能原理
-
$654$621 -
$600$468 -
$620$465 -
$780$616 -
$719$683 -
$713$677 -
$1,940$1,843 -
$1,800$1,710 -
$421TPM 2.0 安全算法開發示例實戰
-
$948$901 -
$454CPU 眼裡的 C/C++
-
$780$616 -
$594$564 -
$505$475 -
$600$450 -
$1,010深入理解 Linux 進程與內存:修煉底層內功,掌握高性能原理
相關主題
商品描述
Learn the latest features of modern C++ by coding eight engaging projects.
Don't let the multitude of C++ updates intimidate you! Learn C++ by Example takes you through the major language changes since C++ 11, with each new feature demonstrated with a fun project or minigame. It's perfect for beginners who know C++ basics, coders coming back to the language, or current C++ developers missing out on everything the language has to offer.
Inside Learn C++ by Example you'll find important skills such as:
- Utilizing the new C++ features from C++ 11 to 23
- Effectively testing your C++ code
- What happens "under the hood" of C++ code
- Picking efficient algorithms and data structures
- std:: format, STL algorithms, ranges, and coroutines
Learn C++ by Example rapidly gets up to speed with C++'s updates and changes, and ensures you'll stay ahead as the language continues to change and grow. You'll learn about vectors and ranges by generating Pascal's triangle, create a racing game with new special member functions, build a slot machine with parameter packs, and more.
Foreword by Matt Godbolt.
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the technology
C++ delivers the flexibility and performance you need for everything from low-level systems programming to secure financial applications and AAA game development. First introduced in 1985, the language is still evolving, with exciting changes in every new version. Whether you're just getting started or you're a veteran coder adding to your toolbox, the eight hands-on projects in this book will get you up to speed on modern C++ features and practices.
About the book
Learn C++ by Example is a fun and practical way to start writing modern C++ code. It guides you through entertaining challenges, emphasizing features and techniques made possible by C++ 17, 20, and 23. You'll learn about objects and arrays by creating a deck of playing cards, master the C++ random library for a number guess game, use the chrono library to create a countdown timer, and much more. Along the way you'll also pick up valuable tips for testing, project organization, and other productivity skills.
What's inside
- New C++ features from C++ 11 to 23
- Effectively test your C++ code
- What happens "under the hood"
- Efficient algorithms and data structures
About the reader
Requires beginner to intermediate C++ skills.
About the author
Frances Buontempo is an experienced C++ developer and the editor of ACCU's Overload magazine.
The technical editor on this book was Timothy Jaap van Deurzen.
Table of Contents
1 Hello again, C++!
2 Containers, iterators, and ranges
3 Input of strings and numbers
4 Time points, duration, and literals
5 Creating and using objects and arrays
6 Smart pointers and polymorphism
7 Associative containers and files
8 Unordered maps and coroutines
9 Parameter packs and std:: visit
商品描述(中文翻譯)
透過編寫八個有趣的專案,學習現代 C++ 的最新功能。
不要讓眾多的 C++ 更新嚇到你!《以範例學習 C++》帶領你了解自 C++ 11 以來的主要語言變化,每個新功能都以有趣的專案或小遊戲來示範。適合已經掌握 C++ 基礎的初學者、重新學習這門語言的開發者,或是現有 C++ 開發者想要掌握語言的所有功能。
在《以範例學習 C++》中,你將學到以下重要技能:
- 利用從 C++ 11 到 23 的新功能
- 有效測試你的 C++ 程式碼
- 理解 C++ 程式碼的內部運作
- 選擇高效的演算法和資料結構
- 使用 std::format、STL 演算法、範圍和協程
《以範例學習 C++》快速掌握 C++ 的更新和變化,確保你能跟上語言的持續變革和成長。你將透過生成帕斯卡三角形來學習向量和範圍,使用新的特殊成員函數來建立賽車遊戲,使用參數包來建立老虎機等等。
前言由 Matt Godbolt 撰寫。
購買印刷版書籍將包含 Manning Publications 提供的 PDF 和 ePub 格式的免費電子書。
關於技術:
C++ 提供了靈活性和性能,適用於從低階系統程式設計到安全金融應用和 AAA 級遊戲開發的各種需求。該語言於 1985 年首次引入,至今仍在不斷演進,每個新版本都帶來令人興奮的變化。無論你是初學者還是經驗豐富的開發者,這本書中的八個實作專案將讓你掌握現代 C++ 的功能和實踐。
關於本書:
《以範例學習 C++》是一種有趣且實用的方式,讓你開始寫現代 C++ 程式碼。它引導你通過有趣的挑戰,強調 C++ 17、20 和 23 所帶來的功能和技術。你將通過創建一副撲克牌來學習物件和陣列,使用 C++ 的隨機函式庫來進行數字猜測遊戲,使用計時庫來創建倒數計時器,以及更多。在此過程中,你還將獲得有關測試、專案組織和其他生產力技巧的寶貴建議。
本書內容包括:
- 從 C++ 11 到 23 的新功能
- 有效測試你的 C++ 程式碼
- 理解程式碼的內部運作
- 高效的演算法和資料結構
讀者需具備初級到中級的 C++ 技能。
關於作者:
Frances Buontempo 是一位經驗豐富的 C++ 開發者,也是 ACCU 的 Overload 雜誌編輯。
本書的技術編輯是 Timothy Jaap van Deurzen。
目錄:
1. 再次問候,C++!
2. 容器、迭代器和範圍
3. 字串和數字的輸入
4. 時間點、持續時間和字面值
5. 創建和使用物件和陣列
6. 智能指針和多型
7. 關聯容器和檔案
8. 無序映射和協程
9. 參數包和 std::visit
作者簡介
Frances Buontempo has many years of C++ experience. She has given talks on C++ and is an editor of ACCU's Overload magazine.
作者簡介(中文翻譯)
Frances Buontempo擁有多年的C++經驗。她曾就C++發表演講,並擔任ACCU的Overload雜誌編輯。