| |
| |
Preface | |
| |
| |
| |
Computers: Revolutionary Machines with a Simple Design | |
| |
| |
Computer Components | |
| |
| |
Computer Software | |
| |
| |
Object-Oriented Programming | |
| |
| |
Computing for Engineers and Scientists | |
| |
| |
| |
Basic Elements of a C++ Program | |
| |
| |
Simple C++ Program. Statement Execution | |
| |
| |
Input/Output Operations | |
| |
| |
Data Types | |
| |
| |
Arithmetic Expressions | |
| |
| |
Additional Operators | |
| |
| |
Namespaces | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Control Structures | |
| |
| |
Three Essential Structures | |
| |
| |
Conditions | |
| |
| |
Selection and Repetition | |
| |
| |
Nested and Multiple-Alternative Selection Structures | |
| |
| |
TheswitchStatement for Multiple Alternatives | |
| |
| |
Problem Solving with Decisions | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Repetition Structures | |
| |
| |
Loop Form and thewhileStatement | |
| |
| |
Interactive and Batch Processing | |
| |
| |
TheforStatement | |
| |
| |
Operators That Change Their Operands | |
| |
| |
Input Errors | |
| |
| |
Thedo-whileLoop | |
| |
| |
Problem Solving with Loops | |
| |
| |
Software Designer Beware | |
| |
| |
| |
User-Defined Functions | |
| |
| |
Single-Result Functions | |
| |
| |
voidFunctions | |
| |
| |
Functions with Output Parameters | |
| |
| |
Overloaded Functions | |
| |
| |
Introduction to Scope of Names | |
| |
| |
Recursive Functions (Optional) | |
| |
| |
Problem Solving with User-Defined Functions | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Data Structures and Classes of Objects | |
| |
| |
Structure Types | |
| |
| |
A Simple Class | |
| |
| |
Analysis and Design of Classes | |
| |
| |
Implementation of a Design as a Class | |
| |
| |
Accessors and Constructor Functions for Type Conversion | |
| |
| |
Class Reuse (Optional) | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Arrays and Strings | |
| |
| |
Arrays for List Storage | |
| |
| |
Sequential Access of Array Elements | |
| |
| |
Using Whole Arrays as Parameters | |
| |
| |
Strings Revisited | |
| |
| |
Classes with Array Components | |
| |
| |
Dynamically Allocated Array Components | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Multidemensional Arrays | |
| |
| |
Creating and Using Multidemensional Arrays | |
| |
| |
Matrix Operations | |
| |
| |
Linear Systems | |
| |
| |
Dynamic Allocation of Two-Dimensional Array Components | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Input and Output Streams | |
| |
| |
Text Files | |
| |
| |
Stream Error Detection | |
| |
| |
Formatting Text Output | |
| |
| |
Searching a Database | |
| |
| |
Software Designer Beware | |
| |
| |
| |
Introduction to Numerical Methods | |
| |
| |
Finding Roots of Functions | |
| |
| |
Fundamental Statistics | |
| |
| |
Numerical Differentiation | |
| |
| |
Numerical Integration | |
| |
| |
Solving First-Order Differential Equations | |
| |
| |
Software Designer Beware | |
| |
| |
| |
| |
| |
C, Parent Language of C++ | |
| |
| |
| |
| |
| |
Selected C++ Standard Functions/Macros | |
| |
| |
| |
| |
| |
Selected C++ Input/Output Facilities | |
| |
| |
| |
| |
| |
Selected Facilities Provided by Class string | |
| |
| |
| |
| |
| |
C++ Operators | |
| |
| |
| |
| |
| |
C++ Keywords | |
| |
| |
| |
| |
| |
Microsoft Visual C++ Integrated Development Environment, An Introduction | |
| |
| |
Appendix H | |
| |
| |
Borland C++ Builder Integrated Development Environment, An Introduction | |
| |
| |
| |
| |
| |
Character Sets | |
| |
| |
Index | |