Beginning C++17: From Novice to Professional

Ivor Horton

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

商品描述

Learn how to program using the updated C++17 language. You'll start with the basics and progress through step-by-step examples to become a working C++ programmer. All you need are Beginning C++17 and any recent C++ compiler and you'll soon be writing real C++ programs. There is no assumption of prior programming knowledge.
 
All language concepts that are explained in the book are illustrated with working program examples, and all chapters include exercises for you to test and practice your knowledge. Code downloads are provided for all examples from the text and solutions to the exercises.
 
This latest edition has been fully updated to the latest version of the language, C++17, and to all conventions and best practices of so-called modern C++. Beginning C++17 also introduces the elements of the C++ Standard Library that provide essential support for the C++17 language. 
 
What You'll Learn
  • Define variables and make decisions
  • Work with arrays and loops, pointers and references, strings, and more
  • Write your own functions, types, and operators
  • Discover the essentials of object-oriented programming
  • Use overloading, inheritance, virtual functions and polymorphism
  • Write generic function templates and class templates 
  • Get up to date with modern C++ features: auto type declarations, move semantics, lambda expressions, and more
  • Examine the new additions to C++17
 
Who This Book Is For
Programmers new to C++ and those who may be looking for a refresh primer on the C++17 programming language in general.
 

商品描述(中文翻譯)

學習如何使用更新的C++17語言進行編程。您將從基礎知識開始,通過逐步示例進展,成為一名能夠寫出真實C++程序的程序員。您只需要《Beginning C++17》和任何最新的C++編譯器,很快就能夠寫出真正的C++程序。本書不假設您具有先前的編程知識。

書中解釋的所有語言概念都以實際的程序示例進行了說明,每章都包含練習題,供您測試和練習知識。所有示例程序的代碼下載和練習題的解答都提供了。

本最新版本已完全更新到最新版本的C++17語言,並遵循所謂的現代C++的所有慣例和最佳實踐。《Beginning C++17》還介紹了C++標準庫的元素,為C++17語言提供了必要的支持。

您將學到什麼

- 定義變量並做出決策
- 使用數組和循環、指針和引用、字符串等進行工作
- 編寫自己的函數、類型和運算符
- 探索面向對象編程的基本知識
- 使用重載、繼承、虛函數和多態性
- 編寫通用的函數模板和類模板
- 熟悉現代C++的最新功能:自動類型聲明、移動語義、lambda表達式等
- 檢視C++17的新添加功能

本書適合對C++新手以及對C++17編程語言有興趣的人。