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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.