Beginning C++17 [electronic resource] : From Novice to Professional /
Horton, Ivor.author.
Van Weert, Peter.author.
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.
1. Basic Ideas -- 2. Introducing Fundamental Types of Data -- 3. Working Fundamental Types -- 4. Making Decisions -- 5. Arrays and Loops -- 6. Pointers and References -- 7. Working with Strings -- 8. Defining Functions -- 9. Function Templates -- 10. Program Files and Preprocessing Directives -- 11. Defining your own Data Types -- 12. Operator Overloading -- 13. Inheritance -- 14. Virtual Functions and Polymorphism -- 15. Runtime Errors and Exceptions -- 16. Class Templates -- 17. Move Semantics -- 18. First-Class Functions -- 19. Containers and Algorithms.
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.
Programming languages (Electronic computers).
Programming Languages, Compilers, Interpreters.