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. You will:
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
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.
Master C++17 through step-by-step examples Learn to work with arrays, loops, strings, lambda expressions, and more
Utilize operator overloading, inheritance, virtual functions and polymorphism
Revises Ivor Horton's C++ tutorial for the new C++ 17 release Ivor Horton is industry and academic recognized expert and author on the subject of C/C++ C++ remains one of the leading programming languages that drives many applications today
“The book presents the logic and contents very clearly. It covers every basic aspect of C++ programming, and all of the examples are written in C++17. C++ beginners will learn the fundamental parts of C++ programming using C++17. … it is a great first book for C++ beginners, who should work through the material chapter by chapter, and readers who want to learn modern C++ programming using C++17.” (Zhaoqiang Lai, Computing Reviews, September 16, 2019)