April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Objectives
In this chapter, you’ll:
Construct programs modularly from functions.
Use common math library functions and learn about math functions and constants added in C++20, C++17 and C++11.
Declare functions with function prototypes.
View many key C++ standard library headers.
Use random numbers to implement game-playing apps.
Declare constants in scoped enums and use constants without their type names via C++20’s using enum declarations.
Understand the scope of identifiers.
Use inline functions, references and default arguments.
Define overloaded functions that handle a variety of different argument types.
Define function templates that can generate families of overloaded functions.
Write ...
Read now
Unlock full access