Learn C++ by Example: Covers Versions 11 to 23 (Paperback)
暫譯: 透過範例學習 C++:涵蓋版本 11 至 23 (平裝本)

Buontempo, Frances

  • 出版商: Manning
  • 出版日期: 2024-04-02
  • 售價: $2,150
  • 貴賓價: 9.5$2,043
  • 語言: 英文
  • 頁數: 248
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1633438333
  • ISBN-13: 9781633438330
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存 < 3)

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

商品描述

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++ 隨機庫以進行數字猜測遊戲,使用 chrono 庫創建倒數計時器,還有更多。在這個過程中,你還將獲得有關測試、專案組織和其他生產力技能的寶貴建議。

內容概覽


  • 從 C++ 11 到 23 的新 C++ 特性

  • 有效測試你的 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 雜誌的編輯。

最後瀏覽商品 (19)