May 2012
Intermediate to advanced
768 pages
14h 39m
English
Variables are tools that help the programmer temporarily store data for a finite amount of time. Constants are tools that help the programmer define artifacts that are not allowed to change.
In this lesson, you find out
• How to use C++11 keywords auto and constexpr
• How to declare and define variables and constants
• How to assign values to variables and manipulate those values
• How to write the value of a variable to the screen
Before you actually explore the need and use of variables in a programming language, take a step back and first see what a computer contains and how it works.
All computers, smart phones, and other programmable devices ...
Read now
Unlock full access