2. Introduction to C++ Programming, Input/Output and Operators

What’s in a name? that which we call a rose By any other name would smell as sweet.

—William Shakespeare

High thoughts must have high language.

—Aristophanes

One person can make a difference and every person should try.

—John F. Kennedy

Objectives

In this chapter you’ll learn:

• To write simple computer programs in C++.

• To write simple input and output statements.

• To use fundamental types.

• Basic computer memory concepts.

• To use arithmetic operators.

• The precedence of arithmetic operators.

• To write simple decision-making statements.

Get C++ How to Program, Ninth Edition now with O’Reilly online learning.

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