Beginning C++17: From Novice to ProfessionalLearn 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
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. |
Contents
Basic Ideas | 1 |
Introducing Fundamental Types of Data | 27 |
Working with Fundamental Data Types | 65 |
Making Decisions | 88 |
Arrays and Loops | 123 |
Pointers and References | 177 |
Working with Strings | 219 |
Defining Functions | 257 |
Operator Overloading | 449 |
Inheritance | 491 |
Polymorphism | 525 |
Runtime Errors and Exceptions | 571 |
Class Templates | 613 |
Move Semantics | 661 |
FirstClass Functions | 695 |
Containers and Algorithms | 721 |
Other editions - View all
Common terms and phrases
adding allocated allow already argument array auto base class block body Box object called Carton catch chapter char character compiler condition const constructor contains conversion copy count course create default define definition delete derived class destructor double elements entered error example exception execution exercise exist expression Figure given header height Here’s implement inherited initialize input instance integer iterator length literal look loop means member functions member variables memory modify move namespace Note object operand operator output overloaded Package parameter passed pointer possible reference result sequence shows single size_t specify Standard Library statement static std::cout std::endl std::string string template throw true unsigned vector virtual volume write