Preface. 1. Program Structure. 2. Lexical Elements. Comments.
Identifiers.
Keywords.
3. Constants. 4. Declarations and Scope Rules. Namespaces.
5. Linkage Rules. 6. Types. 7. Conversion Rules and Casts. 8. Expressions and Operators. sizeof Expressions.
Autoincrement and Autodecrement Expressions.
Arithmetic Expressions.
Relational, Equality, and Logical Expressions.
Assignment Expressions.
Comma Expressions.
Conditional Expressions.
Bit Manipulation Expressions.
Address and Indirection Expressions.
new and delete Expressions.
Other Expressions.
9. Statements. Expression Statements.
The Compound Statement.
The if and if-else Statements.
The while Statement.
The for Statement.
The do Statement.
The break and continue Statements.
The switch Statement.
The goto Statement.
The return Statement.
The Declaration Statement.
10. Functions. Prototypes.
Call-by-Reference.
Inline Functions.
Default Arguments.
Overloading.
Type-Safe Linkage for Functions.
11. Classes. Constructors and Destructors.
Member Functions.
Friend Functions.
The this Pointer.
Operator Overloading.
static and const Member Functions.
Mutable.
Class Design.
12. Inheritance. Multiple Inheritance.
Constructor Invocation.
Abstract Base Classes.
Pointer to Class Member.
Run-Time Type Identification.
Virtual Functions.
13. Templates. Template Parameters.
Function Template.
Friends.
Static Members.
Specialization.
14. Exceptions. Throwing Exceptions.
Try Blocks.
Handlers.
Exception Specification.
terminate() and unexpected().
Standard Library Exceptions.
15. Input/Output. The Output Class ostream.
Formatted Output and iomanip.h.
User-Defined Types: Output.
The Input Class istream.
Files.
Using Strings as Streams.
The Functions and Macros in ctype.h.
Using Stream States.
Mixing I/O Libraries.
16. STL. Containers.
Iterators.
Algorithms.
Functions.
Allocators.
17. String Library. Constructors.
Member Functions.
Global Operators.
18. Caution and Compatibility. Nested Class Declarations.
Type Compatibilities.
Miscellaneous.
19. New Features in C++. 20. References. Index. 0201695871T04062001