Summing Up

In this lesson, you saw how to use literals and how to declare and define variables and constants. You also saw how to assign values to these variables and constants, and what values and names are valid. And you saw how to get input from the user, a subject that will be covered in greater detail in the next lesson.

Get SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.