The C++ Primer: A Gentle Introduction to C++
by M. T. Skinner
ISBN 0-929306-11-2 1992 300 pages, Paperback $39.95 (US Dollars)
Summary
Contents
Table of Contents:
- Introduction
- Writing Programs in C++
- Program Termination
- Exercise
- Basics
- Font Convention
- Character Set
- Identifiers
- Constants (Literal Values)
- Comments
- Exercises
- Types and Objects
- Basic Types
- More Types
- Objects
- Type Definitions
- Exercises
- Operators & Expressions
- Operators
- Expressions
- Explicit Conversions
- Exercises
- Statements
- Declarations and Definitions
- Expression Statement
- Compound or Block Statement
- Conditional Statement
- Loops
- Jump Statement
- Null Statement
- Exercises
- Function Declarations or Prototypes
- Function Definitions (Bodies)
- Function Call
- Argument Passing
- Local and Global Variables
- Main Function
- Recursion
- Separate Compilation
- Exercises
- Arrays, Structures, Pointers
- Arrays
- Structures
- Pointers
- Arrays and Pointers
- Strings
- Exercises
- Classes
- Complex Data Type
- Class Definitions
- Class Objects
- Class Members
- Stacks: An Example
- Copying: Class Objects
- Dynamic Object Creation & Deletion
- Friends
- Constant Members and Member Functions
- Performing Type Conversions
- Specifying Type Conversions
- Inline Functions
- Forward Class Declarations
- Lists: A Final Example
- Exercises
- Inheritance
- Derived Class Specification
- Multiple Inheritance
- Order of Constructor/Destructor Calls
- Assignment and Constructors
- Virtual Functions
- Examples
- Exercises
- Overloading
- Operator Overloading
- Examples
- Exercises
- Input/Output
- Stream Header File iostream.h
- Input
- Output Streams
- Manipulators
- Stream States
- Extending the Stream I/O Library
- Defining New Streams
- Additional Facilities
- Exercises
- A Large Example
- Templates
- Variable Argument Functions
- Preprocessor
- Macro Definitions
- File Inclusion
- Conditional Compilation
- Avoiding Multiple File Inclusions
- Library Facilities
- Using the Libraries
- Standard Functions
- Bibliography
- Index
|