1.1The Development of Computer Programming Languages
1.1.1Machine Language and Assembly Language
1.2.1The Origin of Object-oriented Method
1.2.2Basic Concepts of Object-oriented
1.3Object-oriented Software Development
1.4Representation and Storage of Information
1.4.1Digital System of Computers
1.4.2Conversions among Numeral Systems
1.4.3Storage Units of Information
1.4.4Binary-coded Representation
1.4.5Fixed Point Number and Floating-Point Number
1.4.6The Number Range that can be Represented
1.4.7Representation of Non-numerical Information
1.5The Development Process of Programs
2.1An Overview of C++ Language
2.2Basic Data Types and Expressions
2.2.5Operators and Expressions
2.3.2Predefined Input and Output Operator
2.3.3Simple I/O Format Control
2.4The Fundamental Control Structures of Algorithms
2.4.1Achieving Case Structure Using if Statement
2.4.2Multiple Selection Structure
2.4.4Nestings of Loop Structure and Case Structure
3.1Definition and Use of Function
3.1.3Passing Parameters Between Functions
3.3Default Formal Parameters in Functions
4.1Basic Features of Object-Oriented Design
4.2.2Access Control to Class Members
4.5.1Brief Introduction of UML
4.6Program Instance – Personnel Information Management Program
4.6.2Source Code and Description
4.6.3Running Result and Analyses
5.1Scope and Visibility of Identifiers
5.5.3Class Members Modified by const
5.6Multifile Structure and Compilation Preprocessing Directives
5.6.1General Organization Structure of C++ Program
5.6.2External Variable and External Function
5.6.3Standard C++ Library and Namespace
5.6.4Compilation Preprocessing
5.7Example – Personnel Information Management Program
6Arrays, Pointers, and Strings
6.1.1Declaration and Use of Arrays
6.1.2Storage and Initialization of Arrays
6.1.3Using Arrays as Function Parameters
6.2.1Access Method of Memory Space
6.2.2Declaration of Pointer Variables
6.2.3Operations Related to Addresses – ‘*’ and ‘&’
6.2.6Using Pointers to Process Array Elements
6.2.8Using Pointers as Function Parameters
6.2.10Pointers that Point to Functions
6.3.1new Operation and delete Operation
6.3.2Dynamic Memory Allocation and Release Functions
6.5.1Using Character Arrays to Store and Process Strings
6.6Program Example – Personnel Information Management Program
7.1Inheritance and Derivation of Class
7.1.1Instances of Inheritance and Derivation
7.1.2Definition of Derived Class
7.1.3The Generation Process of Derived Classes
7.4Constructor and Destructor of Derived Class
7.5Identification and Access of Derived-Class Member
7.5.3Constructors of Virtual Base Class and Derived Class
7.6Program Example: Solving Linear Equations using Gaussian Elimination Method
7.6.2Analysis of the Program Design
7.6.3Source Code and Explanation
7.6.4Execution Result and Analysis
7.7Program Example: Personnel Information Management Program
7.7.3Source Code and Explanation
7.7.4Execution Result and Analysis
8.1An Overview of Polymorphism
8.1.2Implementation of Polymorphism
8.2.1Rules of Operator Overload
8.2.2Operator Overloaded as Member Function
8.2.3Operator Overloaded as Friend Function
8.3.1Ordinary Virtual Function Member
8.5Program Instance: Variable Stepwise Trapezoid Method to Calculate Functional Definite Integral
8.5.2Analysis of Program Design
8.5.3Source Code and Explanation
8.5.4Execution Result and Analysis
8.6Program Instance: Improvement on Staff Information Management System for a Small Corporation
9Collections and Their Organization
9.1Function Templates and Class Templates
9.2.1Definition of Linear Collection
9.2.2Direct Accessible Linear Collection – Array
9.2.3Sequential Access Collection – Linked List
9.3Organizing Data in Linear Collections
9.4Application – Improving the HR Management Program of a Small Company
10Generic Programming and the Standard Template Library
10.1.3Differences of Naming Conventions Between C/C++
10.1.9Interfaces of Containers
10.3.2Auxiliary Functions in Iterators
10.4.2Nonmutating Sequence Algorithms
10.4.3Mutating Sequence Algorithms
10.4.4Sorting Related Algorithms
10.6Application – Improving the HR Management Program of a Small Company
11The I/O Stream Library and Input/Output
11.1I/O Stream’s Concept and the Structure of a Stream Library
11.2.2The Use of Inserter and Manipulator
11.2.3Output File Stream Member Function
11.3.1Construct Input Stream Object
11.3.3Input Stream Manipulator
11.3.4Input Stream Member Function
11.5Example-improve Employee Information Management System
12.1Basic Concepts of Exception Handling
12.2The Implementation of Exception Handling in C++
12.2.1The Syntax of Exception Handling
12.2.2Exception Interface Declaration
12.3Destruction and Construction in Exception Handling
12.4Exception Handling of Standard Library
12.5Program Example Improvement to Personal Information Administration Program in a Small Company