C++ for Business
Programming, Second Edition
Table of Contents
Copyright
Preface
Changes From the First Edition
Chapter Overview
Part I: C++ Basics
Chapter 1. Introduction to C++
Why Study C++?
Section 1.1. Our First C++
Program
Section 1.2. Integers and
Arithmetic
Section 1.3. Solving a Problem
with Integers
Section 1.4. Other Integer Data
Types
Chapter Review
Chapter 2. Real Numbers
Section 2.1. Real Numbers
Section 2.2. Solving Problems
with Real Numbers
Section 2.3. More on
Arithmetic
Section 2.4. Three Difficulties
When Displaying Decimal
Numbers with cout
Chapter Review
Chapter 3. Iteration
Section 3.1. Relation Conditions
Section 3.2. Indefinite Iteration:
The while and do Statements
Section 3.3. Solving a Problem
with Indefinite Iteration
Section 3.4. Definite Iteration
Section 3.5. Nested Loops
Chapter Review
Chapter 4. Decision Making
Section 4.1. Basic Decision
Making
Section 4.2. Compound
ConditionsThe Logical
Operators
Section 4.3. Nested if
Statements
Section 4.4. The switch
Statement
Chapter Review
Chapter 5. Functions
Section 5.1. The Function
Concept
Section 5.2. User-Defined
Functions that Return a Value
Section 5.3. Programs that Use
Index
[SYMBOL] [A] [B] [C] [D] [E] [F]
[G] [H] [I] [J] [K] [L] [M] [N] [O]
[P] [Q] [R] [S] [T] [U] [V] [W]
Warnings, from compiler 2nd
while loops 2nd 3rd [See also
Nested while loops]
understanding
using 2nd
while statement
Word processors, text files and
Words. [See also Characters]
counting in strings
write() method. [See also
Methods]
syntax