2.1. Introduction

We now introduce C++ programming. We show how to display messages on the screen and obtain data from the user at the keyboard for processing. We explain how to perform arithmetic calculations and save their results for later use. We demonstrate decision-making by showing you how to compare two numbers, then display messages based on the comparison results.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

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